linux/drivers/nvme/host
Christoph Hellwig f6324b1bb7 nvme: cleanup nvme_req_needs_retry
Don't pass the status explicitly but derive it from the requeust,
and unwind the complex condition to be more readable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-05 12:05:08 -06:00
..
core.c nvme: cleanup nvme_req_needs_retry 2017-04-05 12:05:08 -06: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: factor request completion code into a common helper 2017-04-04 09:48:23 -06:00
Kconfig nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
lightnvm.c lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00
Makefile nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
nvme.h nvme: factor request completion code into a common helper 2017-04-04 09:48:23 -06:00
pci.c nvme: move ->retries setup to nvme_setup_cmd 2017-04-05 12:05:08 -06:00
rdma.c nvme: factor request completion code into a common helper 2017-04-04 09:48:23 -06:00
scsi.c nvme/scsi: don't rely on BLK_MAX_CDB 2017-01-30 08:33:51 -07:00