linux/drivers/nvme/host
Jon Derrick 7fad1fd46c nvme-scsi: Consider LBA format in IO splitting calculation
The current command submission code uses a sector-based value when
considering the maximum number of blocks per command. With a
4k-formatted namespace and a command exceeding max hardware limits, this
calculation doesn't split IOs which should be split and fails in the
nvme layer. This patch fixes that calculation and enables IO splitting
in these circumstances.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2017-04-25 20:01:00 +02:00
..
Kconfig nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
Makefile nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
core.c nvme: let dm-mpath distinguish nvme error codes 2017-04-21 16:41:56 +02:00
fabrics.c nvme-fabrics: Allow ctrl loss timeout configuration 2017-04-04 09:48:23 -06:00
fabrics.h nvme-fabrics: Allow ctrl loss timeout configuration 2017-04-04 09:48:23 -06:00
fc.c nvme-fc: avoid memory corruption caused by calling nvmf_free_options() twice 2017-04-25 20:00:59 +02:00
lightnvm.c nvme: make nvme_error_status private 2017-04-20 12:16:10 -06:00
nvme.h blk-mq: remove the error argument to blk_mq_complete_request 2017-04-20 12:16:10 -06:00
pci.c nvme/pci: Poll CQ on timeout 2017-04-21 16:41:55 +02:00
rdma.c nvme: split nvme status from block req->errors 2017-04-20 12:16:10 -06:00
scsi.c nvme-scsi: Consider LBA format in IO splitting calculation 2017-04-25 20:01:00 +02:00