diff options
author | Hannes Reinecke <hare@suse.de> | 2015-06-12 16:12:48 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-07-30 12:37:20 -0700 |
commit | 0ae80ba91f57726f31b5b5890cb7c5173e624ca4 (patch) | |
tree | 42c8c0b21ec3456a11dc3400ec3ffa85afdf4d90 /drivers/block/mtip32xx/mtip32xx.c | |
parent | 0c958ecc69c277b25f38f72bc6d18ab145e8167c (diff) |
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/block/mtip32xx/mtip32xx.c')
0 files changed, 0 insertions, 0 deletions