aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fscache-cache.h
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-10-27 09:53:45 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:25 +0200
commit4bbded76baffc3f47378822ecd9a2e964205db75 (patch)
tree93a7b78e286d85bbae4f4b1b73cfda60849618e4 /include/linux/fscache-cache.h
parentfdcaf816f91926fa6786b366e6fa5d2f5b868742 (diff)
f2fs: support file defragment
This patch introduces a new ioctl F2FS_IOC_DEFRAGMENT to support file defragment in a specified range of regular file. This ioctl can be used in very limited workload: if user expects high sequential read performance in randomly written file, this interface can be used for defragmentation, after that file can be written as continuous as possible in the device. Meanwhile, it has side-effect, it will make holes in segments where blocks located originally, so it's better to trigger GC to eliminate fragment in segments. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/fscache-cache.h')
0 files changed, 0 insertions, 0 deletions