[f2fs-dev] [PATCH] f2fs: add bug on back during flush nat entries

2018-02-11 Thread Yunlei He
This patch add two bug on check back during flush nat entries, nat_tree_lock will prevent race from node block allocation in write_begin. Signed-off-by: Yunlei He --- fs/f2fs/node.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index

Re: [f2fs-dev] [PATCH] f2fs: add bug on back during flush nat entries

2018-02-13 Thread Chao Yu
On 2018/2/12 11:42, Yunlei He wrote: > This patch add two bug on check back during flush nat entries, > nat_tree_lock will prevent race from node block allocation > in write_begin. > > Signed-off-by: Yunlei He > --- > fs/f2fs/node.c | 9 - > 1 file changed, 4 insertions(+), 5 deletions(-