summaryrefslogtreecommitdiff
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-10-27 04:53:45 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-12-04 22:52:33 +0300
commitd323d005ac4a2d413128267af76bb9d71f7303da (patch)
tree8925a675afb9e088fbb83a3c229399c9f7bbf9b9 /Documentation/filesystems
parent2da3e027461ab0148384b02bd5905f1a7b335dff (diff)
downloadlinux-d323d005ac4a2d413128267af76bb9d71f7303da.tar.xz
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 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions