Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-19 Thread Darrick J. Wong
On Fri, Sep 19, 2014 at 03:52:20AM -0700, Christoph Hellwig wrote: > On Thu, Sep 18, 2014 at 11:48:23AM -0700, Darrick J. Wong wrote: > > A few months ago I was working on extending these interfaces (well, the > > p{read,write}* ones and AIO) to tack on an IO extension buffer at the end of > > the

Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-19 Thread Christoph Hellwig
On Thu, Sep 18, 2014 at 11:48:23AM -0700, Darrick J. Wong wrote: > A few months ago I was working on extending these interfaces (well, the > p{read,write}* ones and AIO) to tack on an IO extension buffer at the end of > the syscall arguments. Honestly, that proposal is so but ugly that I treated

Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-19 Thread Christoph Hellwig
On Thu, Sep 18, 2014 at 11:48:23AM -0700, Darrick J. Wong wrote: A few months ago I was working on extending these interfaces (well, the p{read,write}* ones and AIO) to tack on an IO extension buffer at the end of the syscall arguments. Honestly, that proposal is so but ugly that I treated it

Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-19 Thread Darrick J. Wong
On Fri, Sep 19, 2014 at 03:52:20AM -0700, Christoph Hellwig wrote: On Thu, Sep 18, 2014 at 11:48:23AM -0700, Darrick J. Wong wrote: A few months ago I was working on extending these interfaces (well, the p{read,write}* ones and AIO) to tack on an IO extension buffer at the end of the

Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-18 Thread Darrick J. Wong
On Wed, Sep 17, 2014 at 10:20:47PM +, Milosz Tanski wrote: > New syscalls with an extra flag argument. For now all flags except for 0 are > not supported. > > Signed-off-by: Milosz Tanski > --- > fs/read_write.c | 80 > +-- >

Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-18 Thread Darrick J. Wong
On Wed, Sep 17, 2014 at 10:20:47PM +, Milosz Tanski wrote: New syscalls with an extra flag argument. For now all flags except for 0 are not supported. Signed-off-by: Milosz Tanski mil...@adfin.com --- fs/read_write.c | 80 +--

[RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-17 Thread Milosz Tanski
New syscalls with an extra flag argument. For now all flags except for 0 are not supported. Signed-off-by: Milosz Tanski --- fs/read_write.c | 80 +-- include/linux/syscalls.h | 12 ++ include/uapi/asm-generic/unistd.h | 10

[RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-17 Thread Milosz Tanski
New syscalls with an extra flag argument. For now all flags except for 0 are not supported. Signed-off-by: Milosz Tanski mil...@adfin.com --- fs/read_write.c | 80 +-- include/linux/syscalls.h | 12 ++