summaryrefslogtreecommitdiff
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-06-12 17:12:48 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-07-30 22:37:20 +0300
commit0ae80ba91f57726f31b5b5890cb7c5173e624ca4 (patch)
tree42c8c0b21ec3456a11dc3400ec3ffa85afdf4d90 /drivers/scsi/ipr.c
parent0c958ecc69c277b25f38f72bc6d18ab145e8167c (diff)
downloadlinux-0ae80ba91f57726f31b5b5890cb7c5173e624ca4.tar.xz
scsi: retry MODE SENSE on unit attention
The 'sd' driver is calling scsi_mode_sense() to figure out internal details. But scsi_mode_sense() never checks for any pending unit attentions, so we're getting annoying error messages like: MODE SENSE: unimplemented page/subpage: 0x00/0x00 and a possible wrong decision for device cache handling. Reviewed-by: Ewan Milne <emilne@redhat.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions