From: Jeff Garzik <jgarzik@pobox.com>
To: "Cress, Andrew R" <andrew.r.cress@intel.com>
Cc: "'Matthias Andree'" <matthias.andree@gmx.de>,
Linux-Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: SCSI Write Cache Enable in 2.4.20?
Date: Thu, 19 Jun 2003 12:56:14 -0400 [thread overview]
Message-ID: <3EF1EB2E.8010702@pobox.com> (raw)
In-Reply-To: <A5974D8E5F98D511BB910002A50A66470B54CBA3@hdsmsx103.hd.intel.com>
Cress, Andrew R wrote:
> IMO, it isn't "necessary", but it is very desirable, and should be the
> default, to disable write cache on SCSI disks for any system that is
> concerned about reliability.
This sounds like a bug, either in an application, or in Linux kernel's
scsi disk implementation.
Data is only guaranteed to be written onto disk following an
fsync(2)-like operation in the application. And in turn, it is the
Linux kernel's responsibility to ensure that such a flush is propagated
all the down to the low-level driver, in my opinion. Sophisticated
hosts can have barriers, and "dumb" hosts can simply call the drive's
flush-cache / sync-cache command.
Jeff
next prev parent reply other threads:[~2003-06-19 16:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-13 18:25 SCSI Write Cache Enable in 2.4.20? Cress, Andrew R
2003-06-13 20:36 ` Matthias Andree
2003-06-19 16:56 ` Jeff Garzik [this message]
2003-06-19 20:58 ` Matthias Andree
-- strict thread matches above, loose matches on Subject: below --
2003-06-12 9:24 Matthias Andree
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=3EF1EB2E.8010702@pobox.com \
--to=jgarzik@pobox.com \
--cc=andrew.r.cress@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthias.andree@gmx.de \
/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.