• J
    f2fs: revisit inline_data to avoid data races and potential bugs · b3d208f9
    Jaegeuk Kim 提交于
    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: NJaegeuk Kim <jaegeuk@kernel.org>
    b3d208f9
f2fs.h 48.9 KB