From: Mogens Valentin <monz@danbbs.dk>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Bryan Henderson <hbryan@us.ibm.com>,
Anton Altaparmakov <aia21@cam.ac.uk>,
aia21@hermes.cam.ac.uk,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-scsi@vger.kernel.org, mike.miller@hp.com
Subject: Re: [Question] Does the kernel ignore errors writng to disk?
Date: Sun, 01 May 2005 11:01:38 +0200 [thread overview]
Message-ID: <42749AF2.3010107@danbbs.dk> (raw)
In-Reply-To: <1114812035.18330.396.camel@localhost.localdomain>
Alan Cox wrote:
> The next question is what the I/O device does with the data. SCSI disks
> will cache but the scsi layer uses tags and if neccessary turns the
> cache off on the drive. In other words you should get that behaviour
> correctly on SCSI media.
>
> The default IDE behaviour doesn't turn write cache off and the IDE
> device may re-order writes and ack them before they hit storage. IDE
> lacks tags, and tends to have poor performance on cache flush commands.
> With the barrier support on the right thing should occur, or with hdparm
> used to turn the write cache off.
Is this IDE behaviour confined to IDE drives only?
SATA, when using libata, will solemnly be part of the SCSI chain, and
hense not subject to your mentioned write cache problem, right?
--
Kind regards,
Mogens Valentin
next prev parent reply other threads:[~2005-05-01 9:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-27 18:40 [Question] Does the kernel ignore errors writng to disk? mike.miller
2005-04-27 19:12 ` Richard B. Johnson
2005-04-28 14:58 ` Alan Cox
2005-04-28 18:14 ` Bryan Henderson
2005-04-28 22:43 ` Alan Cox
2005-04-28 23:14 ` Bryan Henderson
2005-04-29 7:25 ` Anton Altaparmakov
2005-04-29 19:11 ` Bryan Henderson
2005-04-29 22:00 ` Alan Cox
2005-04-30 0:41 ` Bryan Henderson
2005-05-01 9:01 ` Mogens Valentin [this message]
2005-04-28 23:22 ` Bartlomiej Zolnierkiewicz
2005-04-28 23:50 ` Alan Cox
2005-04-29 0:33 ` Bartlomiej Zolnierkiewicz
-- strict thread matches above, loose matches on Subject: below --
2005-04-28 15:05 Miller, Mike (OS Dev)
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=42749AF2.3010107@danbbs.dk \
--to=monz@danbbs.dk \
--cc=aia21@cam.ac.uk \
--cc=aia21@hermes.cam.ac.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=hbryan@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mike.miller@hp.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox