Re: [PATCH 5/5] blk-mq: Rework blk-mq timeout handling again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-07-27 at 11:04 -0600, Keith Busch wrote:
+AD4- On Fri, Jul 27, 2018 at 04:59:34PM +-0000, Bart Van Assche wrote:
+AD4- +AD4- On Fri, 2018-07-27 at 10:57 -0600, Keith Busch wrote:
+AD4- +AD4- +AD4- You skip that code if the driver returns BLK+AF8-EH+AF8-DONT+AF8-RESET+AF8-TIMER.
+AD4- +AD4- 
+AD4- +AD4- How about applying the following patch on top of this series?
+AD4- 
+AD4- That works for me if you, but it breaks scsi again when
+AD4- scmd+AF8-eh+AF8-abort+AF8-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 that
it is possible to come up with a single implementation that covers the needs
of NVMe and SCSI without introducing such a flag. If a SCSI request times out
then request ownership is transferred from the LLD to the error handler. For
the NVMe driver however there is no such transfer of ownership.

Bart.




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux