[PATCH 0/6] avoid repeated request completion and IO error

Chao Leng
2021-01-05T07:20:11Z

First avoid repeated request completion for nvmf_fail_nonready_command.
Second avoid IO error and repeated request completion for queue_rq.

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 | 18 ++++++++++++++++++
drivers/nvme/host/rdma.c | 2 +-
drivers/nvme/host/tcp.c | 2 +-
include/linux/blk-mq.h | 5 +++++
6 files changed, 30 insertions(+), 7 deletions(-)