1. 19 8月, 2015 1 次提交
  2. 18 8月, 2015 1 次提交
    • K
      NVMe: Set queue max segments · e824410f
      Keith Busch 提交于
      This sets the queue's max segment size to match the device's
      capabilities. The default of 128 is usable until a device's transfer
      capability exceeds 512k, assuming a device page size of 4k. Many nvme
      devices exceed that transfer limit, so this lets the block layer know what
      kind of commands it to allow to form rather than unnecessarily split them.
      
      One additional segment is added to account for a transfer that may start
      in the middle of a page.
      Signed-off-by: NKeith Busch <keith.busch@intel.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      e824410f
  3. 22 7月, 2015 1 次提交
  4. 21 7月, 2015 2 次提交
  5. 17 7月, 2015 1 次提交
  6. 16 7月, 2015 1 次提交
  7. 02 7月, 2015 1 次提交
  8. 28 6月, 2015 6 次提交
  9. 20 6月, 2015 1 次提交
  10. 17 6月, 2015 1 次提交
  11. 06 6月, 2015 3 次提交
  12. 02 6月, 2015 1 次提交
    • K
      NVMe: Remove hctx reliance for multi-namespace · 42483228
      Keith Busch 提交于
      The driver needs to track shared tags to support multiple namespaces
      that may be dynamically allocated or deleted. Relying on the first
      request_queue's hctx's is not appropriate as we cannot clear outstanding
      tags for all namespaces using this handle, nor can the driver easily track
      all request_queue's hctx as namespaces are attached/detached. Instead,
      this patch uses the nvme_dev's tagset to get the shared tag resources
      instead of through a request_queue hctx.
      Signed-off-by: NKeith Busch <keith.busch@intel.com>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      42483228
  13. 30 5月, 2015 3 次提交
  14. 23 5月, 2015 1 次提交
  15. 22 5月, 2015 3 次提交
  16. 19 5月, 2015 1 次提交
  17. 08 4月, 2015 3 次提交
  18. 01 4月, 2015 5 次提交
  19. 23 3月, 2015 1 次提交
  20. 24 2月, 2015 1 次提交
  21. 20 2月, 2015 2 次提交
    • K
      NVMe: Fix potential corruption on sync commands · 0c0f9b95
      Keith Busch 提交于
      This makes all sync commands uninterruptible and schedules without timeout
      so the controller either has to post a completion or the timeout recovery
      fails the command. This fixes potential memory or data corruption from
      a command timing out too early or woken by a signal. Previously any DMA
      buffers mapped for that command would have been released even though we
      don't know what the controller is planning to do with those addresses.
      Signed-off-by: NKeith Busch <keith.busch@intel.com>
      0c0f9b95
    • K
      NVMe: Remove unused variables · 48328518
      Keith Busch 提交于
      We don't track queues in a llist, subscribe to hot-cpu notifications,
      or internally retry commands. Delete the unused artifacts.
      Signed-off-by: NKeith Busch <keith.busch@intel.com>
      48328518