All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Fajun Chen <fajunchen@gmail.com>
Cc: "Eric D. Mudama" <edmudama@gmail.com>,
	linux-ide@vger.kernel.org, Tejun Heo <htejun@gmail.com>
Subject: Re: How to test SATA NCQ feature
Date: Fri, 13 Oct 2006 10:28:30 +0200	[thread overview]
Message-ID: <20061013082829.GH6515@kernel.dk> (raw)
In-Reply-To: <8202f4270610121655x1f88c363j34b20928d34af86f@mail.gmail.com>

On Thu, Oct 12 2006, Fajun Chen wrote:
> will be aborted by LOG PAGE 10h command, but how about the commands
> enqueued but haven't been sent to the device?  In my particular

Requests not yet issued to the device, all reside in the io scheduler
queue. When the drive invalidates its hardware queue, those previously
active commands are put back in to the io scheduler queue and now reside
with those that were yet to be issued. Once device recovery is complete,
queueing at the device level resumes.

Does that answer your question? Neither libata nor the device has any
knowledge of commands queue but not sent to the device.

-- 
Jens Axboe


  parent reply	other threads:[~2006-10-13  8:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 16:30 How to test SATA NCQ feature Fajun Chen
2006-10-12 17:12 ` Eric D. Mudama
2006-10-12 23:55   ` Fajun Chen
2006-10-13  0:42     ` Eric D. Mudama
2006-10-13  8:28     ` Jens Axboe [this message]
2006-10-13 15:38       ` Fajun Chen

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=20061013082829.GH6515@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=edmudama@gmail.com \
    --cc=fajunchen@gmail.com \
    --cc=htejun@gmail.com \
    --cc=linux-ide@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.