From: Michael Clark <michael@metaparadigm.com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: [PATCH] blacklist device don't use SYNCHRONIZE_CACHE
Date: Fri, 29 Oct 2004 17:00:55 +0800 [thread overview]
Message-ID: <418206C7.2070908@metaparadigm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
Hi all,
With qla2300 loaded (and sdc a LUN on an external FC RAID controller),
I was getting a hang on reboot at:
Synchronizing SCSI cache for disk sdc:
I did some debugging by changing the timeout in sd_sync_cache and
found the RAID Controller was just dropping the commands (it's an
external battery backed RAID array so the sd_sync_cache is not
important anyway).
So, attached patch adds to the SCSI blacklist infrastructure to
allow listing devices for which we shouldn't send a SYNCRONIZE_CACHE
command and adds in the misbehaving device i have here.
Now I can reboot ;) without waiting 7.5 minutes.
BTW - The default of 15 retries of 30 secs each is insane
(3 in sd_sync_cache x 5 in scsi_wait_req) - any real need
for the additional outer loop in sd_sync_cache ?
~mc
[-- Attachment #2: scsi-blist-no_sync_cache.patch --]
[-- Type: application/octect-stream, Size: 3130 bytes --]
next reply other threads:[~2004-10-29 9:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-29 9:00 Michael Clark [this message]
2004-10-29 9:04 ` [PATCH] blacklist device don't use SYNCHRONIZE_CACHE Michael Clark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=418206C7.2070908@metaparadigm.com \
--to=michael@metaparadigm.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.