Re: [f2fs-dev] [f2fs-dev v2] [PATCH 1/2] f2fs: stop checkpoint only from fault injection

2017-12-31 Thread Jaegeuk Kim
We can give another chance to write user data, which can resolve generic/441. Signed-off-by: Jaegeuk Kim --- Change log from v1: - skip stop_checkpoint for user data writes fs/f2fs/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c ind

Re: [f2fs-dev] [PATCH v3] f2fs: add reserved blocks for root user

2017-12-31 Thread Jaegeuk Kim
This patch allows root to reserve some blocks via mount option. "-o reserve_root=N" means N x 4KB-sized blocks for root only. Signed-off-by: Jaegeuk Kim --- Change log from v2: - wrong submission. :P fs/f2fs/f2fs.h | 26 ++ fs/f2fs/super.c | 26 ++

Re: [f2fs-dev] [PATCH v2] f2fs: add reserved blocks for root user

2017-12-31 Thread Jaegeuk Kim
We can give another chance to write user data, which can resolve generic/441. Signed-off-by: Jaegeuk Kim --- Change log from v1: - skip stop_checkpoint for normal user data fs/f2fs/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c ind

Re: [f2fs-dev] [PATCH v2] f2fs: add an ioctl to disable GC for specific file

2017-12-31 Thread Jaegeuk Kim
On 12/29, Chao Yu wrote: > On 2017/12/28 11:40, 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. > > One question, we may encounter out-of-