[PATCH v2 0/6] avoid repeated request completion and IO error
Chao Leng
lengchao at huawei.com
Wed Jan 6 22:31:43 EST 2021
First avoid repeated request completion for nvmf_fail_nonready_command.
Second avoid IO error and repeated request completion for queue_rq.
V2:
- use "switch" instead "if" to check return status
Chao Leng (6):
blk-mq: introduce blk_mq_set_request_complete
nvme-core: introduce complete failed request
nvme-fabrics: avoid repeated request completion for
nvmf_fail_nonready_command
nvme-rdma: avoid IO error and repeated request completion
nvme-tcp: avoid IO error and repeated request completion
nvme-fc: avoid IO error and repeated request completion
drivers/nvme/host/fabrics.c | 4 +---
drivers/nvme/host/fc.c | 6 ++++--
drivers/nvme/host/nvme.h | 21 +++++++++++++++++++++
drivers/nvme/host/rdma.c | 2 +-
drivers/nvme/host/tcp.c | 2 +-
include/linux/blk-mq.h | 5 +++++
6 files changed, 33 insertions(+), 7 deletions(-)
--
2.16.4
More information about the Linux-nvme
mailing list