[PATCH 0/2] SRP transport, scsi-mq: Wait for .queue_rq() if necessary

Bart Van Assche
2016-11-23T00:16:06Z

Hello James and Martin,

The SRP transport code must wait until ongoing .queuecommand() /
.queue_rq() callback function invocations have finished before
reconnecting at the transport layer level and also before invoking
.terminate_rport_io(). This is already the case for the single queue
path but not yet for the scsi-mq path. This patch series realizes the
proper serialization for the scsi-mq path. Compared to last time these
patches were posted, only the patch descriptions and one comment have
been changed.

See also "[PATCH v5 0/14] Fix race conditions related to stopping block
layer queues"
(https://www.mail-archive.com/linux-block-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg01830.html)
for a previous post of these patches.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html