diff options
author | Sreekanth Reddy <sreekanth.reddy@avagotech.com> | 2015-06-30 06:55:05 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-08-27 18:08:31 (GMT) |
commit | df838f92f3f5240dca54e1629e8547818e8ea646 (patch) | |
tree | 2a6fcb5d56b53bae42bfe48e7ffbeab8866bd343 /drivers/scsi/pm8001 | |
parent | 36814028ad720165a6febcf9ddd7de20833fd240 (diff) | |
download | linux-df838f92f3f5240dca54e1629e8547818e8ea646.tar.xz |
mpt3sas: When device is blocked followed by unblock fails, unfreeze the I/Os
Issue: When the disks are getting discovered and assigned device
handles by the kernel, a device block followed by an unblock
(due to broadcast primitives) issued by the driver is
interspersed by the kernel changing the state of the device.
Therefore the unblock by the driver results in a no operation
within the kernel API.
To fix this one, the below patch checks the return of the unblock API
and performs a block followed by an unblock to unfreeze the block
layer's I/O queue. Sufficient checks and prints are also added in the
driver to identify this condition caused by the kernel.
Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/pm8001')
0 files changed, 0 insertions, 0 deletions