[PATCH] scsi sync caches w/ dev offline
When a scsi device is offlined and then the system is shutdown it will hang during the synchronizing SCSI caches task. The error handler was activated during this step, but post recovery the system did not complete the shutdown. This patch just adds a check for online before sending the command. The better approach appeared to be to use scsi_block_when_processing_errors, but I was concerned that we might block to long in a shutdown case. -andmike -- Michael Anderson andmike@us.ibm.com sd.c | 3 +++ 1 files changed, 3 insertions(+)
Showing
Please register or sign in to comment