1. 16 8月, 2017 7 次提交
  2. 24 7月, 2017 1 次提交
  3. 22 6月, 2017 1 次提交
    • D
      btrfs: preallocate device flush bio · e0ae9994
      David Sterba 提交于
      For devices that support flushing, we allocate a bio, submit, wait for
      it and then free it. The bio allocation does not fail so ENOMEM is not a
      problem but we still may unnecessarily stress the allocation subsystem.
      
      Instead, we can allocate the bio at the same time we allocate the device
      and reuse it each time we need to flush the barriers. The bio is reset
      before each use. Reference counting is simplified to just device
      allocation (get) and freeing (put).
      
      The bio used to be submitted through the integrity checker which will
      find out that bio has no data attached and call submit_bio.
      
      Status of the bio in flight needs to be tracked separately in case the
      device caches get switched off between write and wait.
      Signed-off-by: NDavid Sterba <dsterba@suse.com>
      e0ae9994
  4. 20 6月, 2017 7 次提交
  5. 09 6月, 2017 1 次提交
  6. 05 5月, 2017 1 次提交
  7. 18 4月, 2017 15 次提交
  8. 12 4月, 2017 1 次提交
  9. 28 2月, 2017 2 次提交
  10. 17 2月, 2017 2 次提交
  11. 02 2月, 2017 1 次提交
  12. 06 12月, 2016 1 次提交