From: Tejun Heo <htejun@gmail.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
James.Smart@Emulex.Com,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: Regarding ordered-tag support.
Date: Thu, 09 Feb 2006 13:12:00 +0900 [thread overview]
Message-ID: <43EAC110.5030700@gmail.com> (raw)
In-Reply-To: <43EA329F.2000906@pobox.com>
Jeff Garzik wrote:
> James Bottomley wrote:
>
>> I suppose I'm a broken record, but I really think linked tasks are the
>> better way to enforce the required ordering guarantees for SCSI TCQ.
>> The problem being that this would present a slightly different API at
>> the block level (you have individual writes that are now ordered, not
>> wholesale barriers).
>
> I strongly agree, since fundamentally, linked tasks is what is really
> going on.
Hello, James. Hello, Jeff.
Maybe I have misunderstood, but, AFAICS, linked task doesn't assure any
ordering relation with respect to other tasks unlike ordered tag. So,
it doesn't make much difference compared to simple & stupid ordering by
draining. For a barrier to work, the following order should be kept.
pre-barrier writes -> cache flush -> barrier write (FUA) -> other writes
Issuing cache flush and barrier write with ordered tags accomplishes all
the ordering requirements (if it works, that is.). I can see linked
task can be used for 'cache flush -> barrier write (FUA)' segment but
that leaves us with two unhandled ordering requirements.
Another thing I'm curious about linked task is what advantages linked
task has over simply issuing and completing the commands sequentially.
Commands in a linked task has to be issued and completed sequentially
anyway, so I don't really see the difference.
Thanks.
--
tejun
next prev parent reply other threads:[~2006-02-09 4:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 6:40 Regarding ordered-tag support Tejun Heo
2006-02-08 15:49 ` James Bottomley
2006-02-08 16:10 ` Tejun
2006-02-08 16:25 ` James Smart
2006-02-08 16:57 ` Tejun
2006-02-08 17:07 ` James Bottomley
2006-02-08 17:18 ` Tejun
2006-02-08 17:27 ` James Bottomley
2006-02-08 18:04 ` Jeff Garzik
2006-02-09 4:12 ` Tejun Heo [this message]
2006-02-09 17:20 ` James Bottomley
2006-02-10 0:45 ` Tejun Heo
2006-02-08 16:26 ` James Bottomley
2006-02-08 16:22 ` James Smart
2006-02-08 20:50 ` James Bottomley
2006-02-08 20:59 ` James Bottomley
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=43EAC110.5030700@gmail.com \
--to=htejun@gmail.com \
--cc=James.Bottomley@SteelEye.com \
--cc=James.Smart@Emulex.Com \
--cc=jgarzik@pobox.com \
--cc=linux-scsi@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 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.