Re: [RESEND PATCH] fs: add RWF_APPEND

2017-10-01 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [RESEND PATCH] fs: add RWF_APPEND

2017-09-30 Thread Goldwyn Rodrigues
On 09/29/2017 07:07 AM, Jürg Billeter wrote: > This is the per-I/O equivalent of O_APPEND to support atomic append > operations on any open file. > > If a file is opened with O_APPEND, pwrite() ignores the offset and > always appends data to the end of the file. RWF_APPEND enables atomic > appen

[RESEND PATCH] fs: add RWF_APPEND

2017-09-29 Thread Jürg Billeter
This is the per-I/O equivalent of O_APPEND to support atomic append operations on any open file. If a file is opened with O_APPEND, pwrite() ignores the offset and always appends data to the end of the file. RWF_APPEND enables atomic append and pwrite() with offset on a single file descriptor. Si