From: Mark Lord <lkml@rtr.ca>
To: Linux Kernel <linux-kernel@vger.kernel.org>, linux-scsi@vger.kernel.org
Subject: BUG: SCSI SYNCHRONIZE_CACHE on driver unload
Date: Thu, 05 Aug 2004 19:02:18 -0400 [thread overview]
Message-ID: <4112BC7A.1040102@rtr.ca> (raw)
On module removal of a SCSI Low-Level Driver (LLD),
the mid-layer tries to do a SYNCHRONIZE_CACHE
command to each device on each host of that driver.
But the command is issued *after* setting SHOST_CANCEL,
which means that scsi_dispatch_cmd() will *always*
fail the command inline, without passing to the LLD.
This bug shows up only for hosts/drives which support
a write-back caching scheme. For the more common
write-thru scheme, the SYNCHRONIZE_CACHE command is
never issued, so the bug never manifests.
Cheers
--
Mark Lord
(hdparm keeper & the original "Linux IDE Guy")
next reply other threads:[~2004-08-05 23:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-05 23:02 Mark Lord [this message]
2004-08-05 22:48 ` BUG: SCSI SYNCHRONIZE_CACHE on driver unload Randy.Dunlap
2004-08-05 23:13 ` Mark Lord
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=4112BC7A.1040102@rtr.ca \
--to=lkml@rtr.ca \
--cc=linux-kernel@vger.kernel.org \
--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.