diff options
author | Oliver Neukum <[email protected]> | 2013-09-16 13:28:15 +0200 |
---|---|---|
committer | James Bottomley <[email protected]> | 2013-10-25 09:58:13 +0100 |
commit | 95897910a5b8ecdc7e86ca2c38e21e84324c98bd (patch) | |
tree | 8bcc6ac1c69edbc663c8cd0ec3255cce44e1674e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | af73623f5f10eb3832c87a169b28f7df040a875b (diff) |
[SCSI] sd: Add error handling during flushing caches
It makes no sense to flush the cache of a device without medium.
Errors during suspend must be handled according to their causes.
Errors due to missing media or unplugged devices must be ignored.
Errors due to devices being offlined must also be ignored.
The error returns must be modified so that the generic layer
understands them.
[jejb: fix up whitespace and other formatting problems]
Signed-off-by: Oliver Neukum <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions