On Fri, Jul 13, 2018 at 11:03:18PM +0000, Bart Van Assche wrote: > How do you want to go forward from here? Do you prefer the approach of the > patch I had posted (https://www.spinics.net/lists/linux-block/msg26489.html), > Jianchao's approach (https://marc.info/?l=linux-block&m=152950093831738) or > perhaps yet another approach? Note: I think Jianchao's patch is a good start > but also that it needs further improvement.
Of the two you mentioned, yours is preferable IMO. While I appreciate Jianchao's detailed analysis, it's hard to take a proposal seriously that so colourfully calls everyone else "dangerous" while advocating for silently losing requests on purpose. But where's the option that fixes scsi to handle hardware completions concurrently with arbitrary timeout software? Propping up that house of cards can't be the only recourse.