1. 11 4月, 2019 1 次提交
  2. 19 3月, 2019 1 次提交
    • J
      block: add BIO_NO_PAGE_REF flag · 399254aa
      Jens Axboe 提交于
      If bio_iov_iter_get_pages() is called on an iov_iter that is flagged
      with NO_REF, then we don't need to add a page reference for the pages
      that we add.
      
      Add BIO_NO_PAGE_REF to track this in the bio, so IO completion knows
      not to drop a reference to these pages.
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      399254aa
  3. 28 2月, 2019 1 次提交
    • J
      block: implement bio helper to add iter bvec pages to bio · 6d0c48ae
      Jens Axboe 提交于
      For an ITER_BVEC, we can just iterate the iov and add the pages
      to the bio directly. For now, we grab a reference to those pages,
      and release them normally on IO completion. This isn't really needed
      for the normal case of O_DIRECT from/to a file, but some of the more
      esoteric use cases (like splice(2)) will unconditionally put the
      pipe buffer pages when the buffers are released. Until we can manage
      that case properly, ITER_BVEC pages are treated like normal pages
      in terms of reference counting.
      Reviewed-by: NHannes Reinecke <hare@suse.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      6d0c48ae
  4. 15 2月, 2019 2 次提交
  5. 21 12月, 2018 1 次提交
  6. 14 12月, 2018 3 次提交
  7. 11 12月, 2018 1 次提交
  8. 10 12月, 2018 2 次提交
  9. 08 12月, 2018 12 次提交
  10. 20 11月, 2018 1 次提交
  11. 13 11月, 2018 1 次提交
  12. 08 11月, 2018 1 次提交
  13. 02 11月, 2018 1 次提交
  14. 24 10月, 2018 1 次提交
  15. 21 10月, 2018 1 次提交
  16. 25 9月, 2018 3 次提交
  17. 22 9月, 2018 7 次提交