Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-03 Thread Jaegeuk Kim
On 01/03, Chao Yu wrote: > On 2018/1/3 11:21, Jaegeuk Kim wrote: > > This patch gives a flag to disable GC on given file, which would be useful, > > when > > user wants to keep its block map. It also conducts in-place-update for > > dontmove > > file. > > > > Signed-off-by: Jaegeuk Kim

Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-03 Thread Jaegeuk Kim
On 01/03, Chao Yu wrote: > On 2018/1/3 11:21, Jaegeuk Kim wrote: > > This patch gives a flag to disable GC on given file, which would be useful, > > when > > user wants to keep its block map. It also conducts in-place-update for > > dontmove > > file. > > > > Signed-off-by: Jaegeuk Kim > > ---

Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-02 Thread Chao Yu
On 2018/1/3 11:21, Jaegeuk Kim wrote: > This patch gives a flag to disable GC on given file, which would be useful, > when > user wants to keep its block map. It also conducts in-place-update for > dontmove > file. > > Signed-off-by: Jaegeuk Kim > --- > > Change log from

Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-02 Thread Chao Yu
On 2018/1/3 11:21, Jaegeuk Kim wrote: > This patch gives a flag to disable GC on given file, which would be useful, > when > user wants to keep its block map. It also conducts in-place-update for > dontmove > file. > > Signed-off-by: Jaegeuk Kim > --- > > Change log from v2: > - modify ioctl

Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-02 Thread Jaegeuk Kim
This patch gives a flag to disable GC on given file, which would be useful, when user wants to keep its block map. It also conducts in-place-update for dontmove file. Signed-off-by: Jaegeuk Kim --- Change log from v2: - modify ioctl to allow users unpin the file

Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-02 Thread Jaegeuk Kim
This patch gives a flag to disable GC on given file, which would be useful, when user wants to keep its block map. It also conducts in-place-update for dontmove file. Signed-off-by: Jaegeuk Kim --- Change log from v2: - modify ioctl to allow users unpin the file fs/f2fs/data.c | 2