“936ead600144f5be5fe594577958ea8ef2549b6c”上不存在“test_tipc/config/ResNet/ResNet50_train_infer_python.txt”
  1. 24 11月, 2016 2 次提交
    • C
      f2fs: don't interrupt free nids building during nid allocation · 3a2ad567
      Chao Yu 提交于
      Let build_free_nids support sync/async methods, in allocation flow of nids,
      we use synchronuous method, so that we can avoid looping in alloc_nid when
      free memory is low; in unblock_operations and f2fs_balance_fs_bg we use
      asynchronuous method in where low memory condition can interrupt us.
      Signed-off-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      3a2ad567
    • C
      f2fs: split free nid list · b8559dc2
      Chao Yu 提交于
      During free nid allocation, in order to do preallocation, we will tag free
      nid entry as allocated one and still leave it in free nid list, for other
      allocators who want to grab free nids, it needs to traverse the free nid
      list for lookup. It becomes overhead in scenario of allocating free nid
      intensively by multithreads.
      
      This patch splits free nid list to two list: {free,alloc}_nid_list, to
      keep free nids and preallocated free nids separately, after that, traverse
      latency will be gone, besides split nid_cnt for separate statistic.
      
      Additionally, introduce __insert_nid_to_list and __remove_nid_from_list for
      cleanup.
      Signed-off-by: NChao Yu <yuchao0@huawei.com>
      [Jaegeuk Kim: modify f2fs_bug_on to avoid needless branches]
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      b8559dc2
  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 3 次提交
  14. 16 6月, 2016 1 次提交
  15. 14 6月, 2016 1 次提交
  16. 09 6月, 2016 1 次提交
  17. 08 6月, 2016 2 次提交