summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-04-14 00:17:00 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2017-04-24 21:55:41 +0200
commite066b83c9b40f3a6951fb693ef0943fa1dfc40c2 (patch)
tree9082ecce33bd28e22ffe4a7751fbb6c4fb20dbcd /fs/char_dev.c
parentf2fs: introduce async IPU policy (diff)
downloadlinux-e066b83c9b40f3a6951fb693ef0943fa1dfc40c2.tar.xz
linux-e066b83c9b40f3a6951fb693ef0943fa1dfc40c2.zip
f2fs: add ioctl to flush data from faster device to cold area
This patch adds an ioctl to flush data in faster device to cold area. User can give device number and number of segments to move. It doesn't move it if there is only one device. The parameter looks like: struct f2fs_flush_device { u32 dev_num; /* device number to flush */ u32 segments; /* # of segments to flush */ }; Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions