diff options
author | Hannes Reinecke <[email protected]> | 2015-06-12 16:12:48 +0200 |
---|---|---|
committer | James Bottomley <[email protected]> | 2015-07-30 12:37:20 -0700 |
commit | 0ae80ba91f57726f31b5b5890cb7c5173e624ca4 (patch) | |
tree | 42c8c0b21ec3456a11dc3400ec3ffa85afdf4d90 /lib/memory-notifier-error-inject.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 <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions