f2fs: revisit inline_data to avoid data races and potential bugs
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 24 Oct 2014 02:48:09 +0000 (19:48 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Nov 2014 01:34:11 +0000 (17:34 -0800)
This patch simplifies the inline_data usage with the following rule.
1. inline_data is set during the file creation.
2. If new data is requested to be written ranges out of inline_data,
 f2fs converts that inode permanently.
3. There is no cases which converts non-inline_data inode to inline_data.
4. The inline_data flag should be changed under inode page lock.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

No differences found