1. 12 Apr, 2017 2 commits
    • Jaegeuk Kim's avatar
      f2fs: fix fs corruption due to zero inode page · 9bb02c36
      Jaegeuk Kim authored
      This patch fixes the following scenario.
      
      - f2fs_create/f2fs_mkdir             - write_checkpoint
       - f2fs_mark_inode_dirty_sync         - block_operations
                                             - f2fs_lock_all
                                             - f2fs_sync_inode_meta
                                              - f2fs_unlock_all
                                              - sync_inode_metadata
       - f2fs_lock_op
                                               - f2fs_write_inode
                                                - update_inode_page
                                                 - get_node_page
                                                   return -ENOENT
       - new_inode_page
        - fill_node_footer
       - f2fs_mark_inode_dirty_sync
       - ...
       - f2fs_unlock_op
                                                - f2fs_inode_synced
                                             - f2fs_lock_all
                                             - do_checkpoint
      
      In this checkpoint, we can get an inode page which contains zeros having valid
      node footer only.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
      9bb02c36
    • Chao Yu's avatar
      f2fs: shrink blk plug region · a54455f5
      Chao Yu authored
      Don't use blk plug covering area where there won't be any IOs being issued.
      Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
      Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
      a54455f5
  2. 11 Apr, 2017 11 commits
  3. 05 Apr, 2017 9 commits
  4. 30 Mar, 2017 3 commits
  5. 28 Mar, 2017 1 commit
  6. 25 Mar, 2017 1 commit
  7. 24 Mar, 2017 7 commits
  8. 22 Mar, 2017 6 commits