summaryrefslogtreecommitdiff
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorDaeho Jeong <daehojeong@google.com>2022-11-11 20:04:06 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2022-11-28 23:46:23 +0300
commit41e8f85a75fc60e1543e4903428a1b481b672a17 (patch)
tree73ce84c5a51dc782dafce31c222c0eed27cba7be /fs/f2fs/gc.c
parent967eaad1fed5f6335ea97a47d45214744dc57925 (diff)
downloadlinux-41e8f85a75fc60e1543e4903428a1b481b672a17.tar.xz
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/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions