Skip to content
Snippets Groups Projects
Commit e066b83c authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 04485987
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment