commit | e1fc742e14e01d84d9693c4aca4ab23da65811fb | [log] [tgz] |
---|---|---|
author | Jürg Billeter <j@bitron.ch> | Fri Sep 29 14:07:17 2017 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Jan 25 19:32:55 2018 -0500 |
tree | 5f6aa92ad10ebd83a667d246b17c8fb4e3cb8f4e | |
parent | c981f254cc82f50f8cb864ce6432097b23195b9c [diff] |
fs: add RWF_APPEND 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. Signed-off-by: Jürg Billeter <j@bitron.ch> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>