Re: [f2fs-dev] [PATCH] f2fs: support file defragment

2015-10-26 Thread Jaegeuk Kim
Hi, On Fri, Oct 23, 2015 at 02:57:03PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Friday, October 23, 2015 2:12 AM > > To: Chao Yu > > Cc: linux-f2fs-devel@lists.sourceforge.net; linux-ker...@vger.kernel.org >

[f2fs-dev] [PATCH v2] f2fs: support file defragment

2015-10-26 Thread Chao Yu
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