commit | 0ae80ba91f57726f31b5b5890cb7c5173e624ca4 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Fri Jun 12 16:12:48 2015 +0200 |
committer | James Bottomley <JBottomley@Odin.com> | Thu Jul 30 12:37:20 2015 -0700 |
tree | 42c8c0b21ec3456a11dc3400ec3ffa85afdf4d90 | |
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>