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

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.

Or at least that's how I understood Tejun's last explanation of it.
It is possible that the drive firmware in some brands may not follow
spec for FLUSH_CACHE_EXT, but I don't know of a specific instance of this.

Cheers

  reply	other threads:[~2008-04-28 17:41 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 [this message]
2008-04-28 17:53       ` Alan Cox
2008-04-28 20:07       ` Jeff Garzik
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=48160C39.6000701@rtr.ca \
    --to=liml@rtr.ca \
    --cc=grundler@google.com \
    --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).