public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: Jeff Garzik <jeff@garzik.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: QUEUE_FLAG_NONROT and merges
Date: Tue, 14 Oct 2008 09:54:08 +0200	[thread overview]
Message-ID: <20081014075407.GU19428@kernel.dk> (raw)
In-Reply-To: <20081014095017.265faf37@mjolnir.drzeus.cx>

On Tue, Oct 14 2008, Pierre Ossman wrote:
> Hi Jeff,
> 
> I noticed you've added a new flag to indicate that the drive has no
> seek costs and I figured it would be a good idea to use that on the
> MMC/SD cards.

That was me, actually...

> Since the name isn't entirely clear in what is implied, I just wanted
> to check that there are no plans to assume that there is negligable
> request overhead for queues with this flag. I.e. the flag should
> indicate that the elevator doesn't have to care about seeks, but it
> should still try to merge requests to reduce the transaction overhead.

Sounds about right. The flag is just meant to indicate zero-seek cost,
as devices will still have per-command overheads, merging is still
applicable.

So yes, you want to set that flag for mmc/sd cards, definitely.

-- 
Jens Axboe


  reply	other threads:[~2008-10-14  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-14  7:50 QUEUE_FLAG_NONROT and merges Pierre Ossman
2008-10-14  7:54 ` Jens Axboe [this message]
2008-10-14  8:08   ` QUEUE_FLAG_NONROT Alan Jenkins
2008-10-14  8:48     ` QUEUE_FLAG_NONROT Jens Axboe
2008-10-14  8:54   ` QUEUE_FLAG_NONROT and merges Pierre Ossman

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=20081014075407.GU19428@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=drzeus-list@drzeus.cx \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    /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