Skip to content
  • Jaegeuk Kim's avatar
    f2fs: revisit inline_data to avoid data races and potential bugs · b3d208f9
    Jaegeuk Kim authored
    
    
    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: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    b3d208f9