RE: [f2fs-dev] [PATCH] f2fs: use inode mutex to keep atomicity of f2fs_falloc

2014-01-28 Thread Chao Yu
ev] [PATCH] f2fs: use inode mutex to keep atomicity of > f2fs_falloc > > Hi, > > 2014-01-28 (화), 10:29 +0800, Chao Yu: > > Previously without protection of inode mutex, f2fs_falloc and other data > > correlated operations will interfere with each other. > > Could yo

Re: [f2fs-dev] [PATCH] f2fs: use inode mutex to keep atomicity of f2fs_falloc

2014-01-27 Thread Jaegeuk Kim
Hi, 2014-01-28 (화), 10:29 +0800, Chao Yu: > Previously without protection of inode mutex, f2fs_falloc and other data > correlated operations will interfere with each other. Could you explain a little bit more what kind of scenarios wrt this? > So let's use inode mutex to keep atomicity of f2fs_

[f2fs-dev] [PATCH] f2fs: use inode mutex to keep atomicity of f2fs_falloc

2014-01-27 Thread Chao Yu
Previously without protection of inode mutex, f2fs_falloc and other data correlated operations will interfere with each other. So let's use inode mutex to keep atomicity of f2fs_falloc. Signed-off-by: Chao Yu --- fs/f2fs/file.c |5 + 1 file changed, 5 insertions(+) diff --git a/fs/f2fs/