Re: [PATCH 5/5] blk-mq: Rework blk-mq timeout handling again
From: Bart Van Assche <hidden>
Date: 2018-07-27 17:14:18
From: Bart Van Assche <hidden>
Date: 2018-07-27 17:14:18
On Fri, 2018-07-27 at 11:04 -0600, Keith Busch wrote:
On Fri, Jul 27, 2018 at 04:59:34PM +0000, Bart Van Assche wrote:quoted
On Fri, 2018-07-27 at 10:57 -0600, Keith Busch wrote:quoted
You skip that code if the driver returns BLK_EH_D=
ONT_RESET_TIMER.
quoted
=20 How about applying the following patch on top of this series?=20 That works for me if you, but it breaks scsi again when scmd_eh_abort_handler completes the command a second time=
. How about introducing a new request queue flag that chooses between the behavior with or without the patch in my previous e-mail? I don't think tha= t it is possible to come up with a single implementation that covers the need= s of NVMe and SCSI without introducing such a flag. If a SCSI request times o= ut then request ownership is transferred from the LLD to the error handler. Fo= r the NVMe driver however there is no such transfer of ownership. Bart.