1. 15 6月, 2017 6 次提交
  2. 13 6月, 2017 1 次提交
  3. 09 6月, 2017 1 次提交
  4. 07 6月, 2017 1 次提交
  5. 26 5月, 2017 1 次提交
  6. 23 5月, 2017 1 次提交
  7. 02 5月, 2017 1 次提交
  8. 21 4月, 2017 1 次提交
    • C
      nvme: split nvme status from block req->errors · 27fa9bc5
      Christoph Hellwig 提交于
      We want our own clearly defined error field for NVMe passthrough commands,
      and the request errors field is going away in its current form.
      
      Just store the status and result field in the nvme_request field from
      hardirq completion context (using a new helper) and then generate a
      Linux errno for the block layer only when we actually need it.
      
      Because we can't overload the status value with a negative error code
      for cancelled command we now have a flags filed in struct nvme_request
      that contains a bit for this condition.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      27fa9bc5
  9. 10 4月, 2017 1 次提交
  10. 04 4月, 2017 8 次提交
  11. 31 3月, 2017 1 次提交
  12. 22 3月, 2017 1 次提交
  13. 28 2月, 2017 1 次提交
  14. 23 2月, 2017 3 次提交
  15. 01 2月, 2017 2 次提交
  16. 25 1月, 2017 1 次提交
  17. 14 1月, 2017 1 次提交
  18. 12 1月, 2017 1 次提交
  19. 15 12月, 2016 1 次提交
  20. 09 12月, 2016 1 次提交
    • C
      block: improve handling of the magic discard payload · f9d03f96
      Christoph Hellwig 提交于
      Instead of allocating a single unused biovec for discard requests, send
      them down without any payload.  Instead we allow the driver to add a
      "special" payload using a biovec embedded into struct request (unioned
      over other fields never used while in the driver), and overloading
      the number of segments for this case.
      
      This has a couple of advantages:
      
       - we don't have to allocate the bio_vec
       - the amount of special casing for discard requests in the block
         layer is significantly reduced
       - using this same scheme for other request types is trivial,
         which will be important for implementing the new WRITE_ZEROES
         op on devices where it actually requires a payload (e.g. SCSI)
       - we can get rid of playing games with the request length, as
         we'll never touch it and completions will work just fine
       - it will allow us to support ranged discard operations in the
         future by merging non-contiguous discard bios into a single
         request
       - last but not least it removes a lot of code
      
      This patch is the common base for my WIP series for ranges discards and to
      remove discard_zeroes_data in favor of always using REQ_OP_WRITE_ZEROES,
      so it would be good to get it in quickly.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      f9d03f96
  21. 06 12月, 2016 4 次提交
  22. 16 11月, 2016 1 次提交