linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Mark Lord <liml@rtr.ca>
Cc: Jody McIntyre <scjody@sun.com>,
	Grant Grundler <grundler@google.com>,
	linux-ide@vger.kernel.org
Subject: Re: sata_mv performance; impact of NCQ
Date: Mon, 28 Apr 2008 16:07:55 -0400	[thread overview]
Message-ID: <48162E9B.2030400@garzik.org> (raw)
In-Reply-To: <48160C39.6000701@rtr.ca>

Mark Lord wrote:
> Jody McIntyre wrote:
>>
>> We turn write caching off for data integrity reasons (write reordering
>> does bad things to journalling file systems if power is interrupted -
>> and at the scale of many Lustre deployments, it happens often enough to
>> be a concern.)  I'm also concerned about the effects of NCQ in this area
>> so we'll probably turn it off anyway.
> ..
> 
> I haven't done a detailed examination lately, but..
> 
> Both write-caching and NCQ re-ordering should be safe on Linux.
> The kernel will issue FLUSH_CACHE_EXT commands as required to checkpoint
> data to the disk.

It depends on the fs's use of barriers (or not).

Without barriers, FLUSH CACHE[ EXT] isn't issued very often.

	Jeff




  parent reply	other threads:[~2008-04-28 20:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-26  0:16 sata_mv performance; impact of NCQ Jody McIntyre
2008-04-26  3:13 ` Grant Grundler
2008-04-28 17:14   ` Jody McIntyre
2008-04-28 17:41     ` Mark Lord
2008-04-28 17:53       ` Alan Cox
2008-04-28 20:07       ` Jeff Garzik [this message]
2008-04-26  4:49 ` Mark Lord
2008-04-28 17:33   ` Jody McIntyre

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=48162E9B.2030400@garzik.org \
    --to=jeff@garzik.org \
    --cc=grundler@google.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=scjody@sun.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;
as well as URLs for NNTP newsgroup(s).