linux-sg2042/drivers/nvme/target
Ming Lei 663d6fee66 nvme-loop: kill timeout handler
Firstly it doesn't make sense to handle timeout for loop: 1) for admin
queue, the request is always completed in code path of queuing IO. 2)
for normal IO request, the timeout on these IOs have been handled by
underlying queue already.

Secondly nvme-loop's timeout handler is simply broken, and easy to
cause issue: 1) no any sync/protection between timeout and normal
completion, and now it is driver's responsibility to deal with
that; 2) bad reset implementation, blk_mq_update_nr_hw_queues()
is called after all NSs's queue is stopped(quiesced), and easy
to trigger deadlock.

So kill the timeout handler.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewd-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-04-25 16:51:41 +02:00
..
Kconfig nvmet: include <linux/scatterlist.h> 2019-04-25 16:47:03 +02:00
Makefile nvmet-tcp: add NVMe over TCP target driver 2018-12-13 09:58:57 +01:00
admin-cmd.c nvmet: fix discover log page when offsets are used 2019-04-11 17:28:30 +02:00
configfs.c nvmet: return a specified error it subsys_alloc fails 2019-04-25 16:41:26 +02:00
core.c nvmet: include <linux/scatterlist.h> 2019-04-25 16:47:03 +02:00
discovery.c nvmet: return a specified error it subsys_alloc fails 2019-04-25 16:41:26 +02:00
fabrics-cmd.c nvmet: rename nvme_completion instances from rsp to cqe 2019-04-25 16:41:26 +02:00
fc.c nvmet: rename nvme_completion instances from rsp to cqe 2019-04-25 16:41:26 +02:00
fcloop.c nvmet-fcloop: convert to SPDX identifiers 2019-02-20 07:22:34 -07:00
io-cmd-bdev.c nvmet: avoid double errno conversions 2019-04-05 08:07:56 +02:00
io-cmd-file.c nvmet-file: clamp-down file namespace lba_shift 2019-04-25 16:51:19 +02:00
loop.c nvme-loop: kill timeout handler 2019-04-25 16:51:41 +02:00
nvmet.h nvmet: rename nvme_completion instances from rsp to cqe 2019-04-25 16:41:26 +02:00
rdma.c nvmet: rename nvme_completion instances from rsp to cqe 2019-04-25 16:41:26 +02:00
tcp.c nvmet-tcp: don't fail maxr2t greater than 1 2019-04-25 16:51:19 +02:00