public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 16490] "Assuming drive cache: write through" messages probably have wrong loglevel
       [not found] <bug-16490-11613@https.bugzilla.kernel.org/>
@ 2010-08-05 14:09 ` bugzilla-daemon
  2014-06-04 14:19 ` bugzilla-daemon
  1 sibling, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2010-08-05 14:09 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=16490


Tejun Heo <tj@kernel.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Serial ATA                  |SCSI
         AssignedTo|tj@kernel.org               |linux-scsi@vger.kernel.org




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 16490] "Assuming drive cache: write through" messages probably have wrong loglevel
       [not found] <bug-16490-11613@https.bugzilla.kernel.org/>
  2010-08-05 14:09 ` [Bug 16490] "Assuming drive cache: write through" messages probably have wrong loglevel bugzilla-daemon
@ 2014-06-04 14:19 ` bugzilla-daemon
  1 sibling, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2014-06-04 14:19 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=16490

Alain Kalker <a.c.kalker@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.c.kalker@gmail.com

--- Comment #8 from Alain Kalker <a.c.kalker@gmail.com> ---
I submitted a patch to lower the log level to the linux-scsi mailing list.
The patch was not accepted; James Bottomley offered this very insightful
explanation why the log level should remain high (quoted here for those who are
not reading the linux-scsi mailing list):

> [...] The condition may be an error.  We have
> some USB attached storage devices with writeback caches which don't
> supply caching information.  Treating a writeback device as writethrough
> is a potential error because you may lose data as a result of it.
> 
> The error is that we've made an assumption which may damage your data.
> 
> The problem for us is that we can't tell if the assumption is going to
> be fatal or not ... the message is harmless for older USB devices.

>From doing a little research, I would suggest these steps to mitigate the risk
(correct me if I'm wrong or have omitted anything):

- Find out if the device has write cache enabled by default, by consulting its
documentation, technical specifications, or by contacting the manufacturer.
- If the device does have write cache enabled, a quirk parameter can be added
to either the kernel commandline or as a module parameter for the usb-storage
module[1]
- Verify that the device works as expected.

[1] For more information on USB storage device quirks and how to configure
them, see linux/Documentation/kernel-parameters.txt in the Linux kernel source.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-04 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-16490-11613@https.bugzilla.kernel.org/>
2010-08-05 14:09 ` [Bug 16490] "Assuming drive cache: write through" messages probably have wrong loglevel bugzilla-daemon
2014-06-04 14:19 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox