• C
    f2fs: fix to wait page writeback before update · a6d601f3
    Chao Yu 提交于
    Filesystem including f2fs should support stable page for special
    device like software raid, however there is one missing path that
    page could be updated while it is writeback state as below, fix
    this.
    
    - gc_node_segment
     - f2fs_move_node_page
      - __write_node_page
       - set_page_writeback
    
    - do_read_inode
     - f2fs_init_extent_tree
      - __f2fs_init_extent_tree
        i_ext->len = 0;
    Signed-off-by: NChao Yu <yuchao0@huawei.com>
    Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
    a6d601f3
f2fs.h 131.3 KB