On Tue, Apr 27, 2021 at 06:16:18PM +0200, Christoph Hellwig wrote: > The nvme multipathing code just dispatches bios to one of the blk-mq > based paths and never blocks on its own, so set QUEUE_FLAG_NOWAIT > to support REQ_NOWAIT bios. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > drivers/nvme/host/multipath.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c > index 4e2c3a6787e9..1d17b2387884 100644 > --- a/drivers/nvme/host/multipath.c > +++ b/drivers/nvme/host/multipath.c > @@ -442,6 +442,8 @@ int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) > if (!q) > goto out; > blk_queue_flag_set(QUEUE_FLAG_NONROT, q); > + blk_queue_flag_set(QUEUE_FLAG_NOWAIT, q); BLK_MQ_F_BLOCKING is set for nvme-tcp, and the blocking may be done inside nvme_ns_head_submit_bio(), is that one problem? Thanks, Ming