1. 24 11月, 2016 8 次提交
  2. 01 10月, 2016 6 次提交
  3. 23 9月, 2016 3 次提交
  4. 14 9月, 2016 1 次提交
  5. 08 9月, 2016 4 次提交
  6. 30 8月, 2016 3 次提交
  7. 25 8月, 2016 1 次提交
  8. 19 8月, 2016 1 次提交
  9. 31 7月, 2016 1 次提交
  10. 21 7月, 2016 3 次提交
  11. 16 7月, 2016 3 次提交
    • C
      f2fs: reset default idle interval value · dcf25fe8
      Chao Yu 提交于
      The default value of idle interval is 2 mins, but for most time when
      screen shutdown, there are still operations during the 2 mins interval,
      and gc's sleep time is about 30 secs to 60 secs, so there is almost no
      chance for GC thread to do garbage collecting.
      
      Set default value of idle interval value from 2 mins to 5 secs for
      fixing.
      Signed-off-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      dcf25fe8
    • C
      f2fs: fix to avoid data update racing between GC and DIO · 82e0a5aa
      Chao Yu 提交于
      Datas in file can be operated by GC and DIO simultaneously, so we will
      face race case as below:
      
      For write case:
      Thread A				Thread B
      - generic_file_direct_write
       - invalidate_inode_pages2_range
       - f2fs_direct_IO
        - do_blockdev_direct_IO
         - do_direct_IO
          - get_more_blocks
      					- f2fs_gc
      					 - do_garbage_collect
      					  - gc_data_segment
      					   - move_data_page
      					    - do_write_data_page
      					    migrate data block to new block address
         - dio_bio_submit
         update user data to old block address
      
      For read case:
      Thread A                                Thread B
      - generic_file_direct_write
       - invalidate_inode_pages2_range
       - f2fs_direct_IO
        - do_blockdev_direct_IO
         - do_direct_IO
          - get_more_blocks
      					- f2fs_balance_fs
      					 - f2fs_gc
      					  - do_garbage_collect
      					   - gc_data_segment
      					    - move_data_page
      					     - do_write_data_page
      					     migrate data block to new block address
      					  - write_checkpoint
      					   - do_checkpoint
      					    - clear_prefree_segments
      					     - f2fs_issue_discard
                                                   discard old block adress
         - dio_bio_submit
         update user buffer from obsolete block address
      
      In order to fix this, for one file, we should let DIO and GC getting exclusion
      against with each other.
      Signed-off-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      82e0a5aa
    • J
      f2fs: disable extent_cache for fcollapse/finsert inodes · 5f281fab
      Jaegeuk Kim 提交于
      This reduces the elapsed time to do xfstests/generic/017.
      
      Before: 458 s
      After:  390 s
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      5f281fab
  12. 09 7月, 2016 4 次提交
  13. 07 7月, 2016 2 次提交