diff options
author | Daeho Jeong <daehojeong@google.com> | 2022-11-11 09:04:06 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-11-28 12:46:23 -0800 |
commit | 41e8f85a75fc60e1543e4903428a1b481b672a17 (patch) | |
tree | 73ce84c5a51dc782dafce31c222c0eed27cba7be /fs/efs | |
parent | 967eaad1fed5f6335ea97a47d45214744dc57925 (diff) |
f2fs: introduce F2FS_IOC_START_ATOMIC_REPLACE
introduce a new ioctl to replace the whole content of a file atomically,
which means it induces truncate and content update at the same time.
We can start it with F2FS_IOC_START_ATOMIC_REPLACE and complete it with
F2FS_IOC_COMMIT_ATOMIC_WRITE. Or abort it with
F2FS_IOC_ABORT_ATOMIC_WRITE.
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions