linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Regarding the recent new blk-mq timeout handling
@ 2018-06-12 10:04 jianchao.wang
  2018-06-12 10:17 ` Ming Lei
  0 siblings, 1 reply; 4+ messages in thread
From: jianchao.wang @ 2018-06-12 10:04 UTC (permalink / raw)
  To: Jens Axboe, Christoph Hellwig
  Cc: Martin K. Petersen, Ming Lei, Bart Van Assche,
	linux-block@vger.kernel.org

Hi Jens and Christoph

In the recent commit of new blk-mq timeout handling, we don't have any protection
on timed out request against the completion path. We just hold a request->ref count,
it just could avoid the request tag to be released and life-recycle, but not completion.

For the scsi mid-layer, what if a request is in error handler and normal completion come
at the moment ?

Or do I miss anything about this commit ?


Thanks
Jianchao

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-12 13:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-12 10:04 Regarding the recent new blk-mq timeout handling jianchao.wang
2018-06-12 10:17 ` Ming Lei
2018-06-12 13:01   ` jianchao.wang
2018-06-12 13:23     ` jianchao.wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).