diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-10-24 04:48:09 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-05 02:34:11 +0100 |
commit | b3d208f96d6bb21247108a956dead6a028d5cdb2 (patch) | |
tree | 0adfa5781bae898208c62a94c6087322f16a94be /drivers/dio | |
parent | f2fs: remove pointless bit testing in f2fs_delete_entry() (diff) | |
download | linux-b3d208f96d6bb21247108a956dead6a028d5cdb2.tar.xz linux-b3d208f96d6bb21247108a956dead6a028d5cdb2.zip |
f2fs: revisit inline_data to avoid data races and potential bugs
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>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions