Re: [PATCH v2] mpt3sas: Use driver scsi lookup to track outstanding IOs

2019-02-26 Thread Christoph Hellwig
On Tue, Feb 26, 2019 at 06:34:40AM -0500, Sreekanth Reddy wrote: > During expander reset handling, the driver invokes kernel function > scsi_host_find_tag() to obtain outstanding requests associated with > the scsi host managed by the driver. Kernel’s block layer may return > stale entry for one or

[PATCH v2] mpt3sas: Use driver scsi lookup to track outstanding IOs

2019-02-26 Thread Sreekanth Reddy
During expander reset handling, the driver invokes kernel function scsi_host_find_tag() to obtain outstanding requests associated with the scsi host managed by the driver. Kernel’s block layer may return stale entry for one or more outstanding requests if blk-mq is enabled. This may lead to Kernel