]> asedeno.scripts.mit.edu Git - linux.git/commit
f2fs: add an ioctl to disable GC for specific file
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Dec 2017 00:25:39 +0000 (16:25 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 22 Jan 2018 22:56:35 +0000 (14:56 -0800)
commit1ad71a27124caf0b68ddd3c92be01aa2b2a72b2a
tree802af8c30b004b0a3c439a9b23d25a69b9aaef5e
parent9ac1e2d88d076aa1ae9e33d44a9bbc8ae3bfa791
f2fs: add an ioctl to disable GC for specific file

This patch gives a flag to disable GC on given file, which would be useful, when
user wants to keep its block map. It also conducts in-place-update for dontmove
file.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/gc.h
fs/f2fs/sysfs.c
include/linux/f2fs_fs.h