linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: linux-ide@vger.kernel.org, htejun@gmail.com
Subject: Re: [PATCH 0/2] libata: switch to block layer tagging
Date: Wed, 20 May 2009 09:57:53 +0200	[thread overview]
Message-ID: <20090520075753.GK11363@kernel.dk> (raw)
In-Reply-To: <4A13B6F3.2000001@garzik.org>

On Wed, May 20 2009, Jeff Garzik wrote:
> Jens Axboe wrote:
>> Hi,
>>
>> This patchset switches libata to block layer tagging. It gets rid of yet
>> another O(N) command loop.
>>
>>  block/blk-tag.c           |   99 +++++++++++++++++++++++++++-----------
>>  drivers/ata/libata-core.c |   94 ++++++++++--------------------------
>>  drivers/ata/libata-scsi.c |   23 ++++++++
>>  drivers/ata/libata.h      |   19 ++++++-
>>  include/linux/blkdev.h    |    3 +
>>  include/linux/libata.h    |    1  6 files changed, 139 insertions(+), 
>> 100 deletions(-)
>
> Will take a look post-sleep...  mainly it's a question of possibly  

:-)

> interfering with SCSI's use of block layer tagging.  Though for the  
> moment I will simply assume you verified that ;)

Certainly, the patch has been used and sitting in my ssd branch for
months now. It essentially just tells SCSI to enable the block layer
tagging for libata devices with ncq. Then libata gets block layer tagged
requests automatically, and it can simply reuse the assigned tag
internally as well.

That part is trivial. The nasty bit is when libata makes up its own tag
for internal issue, that is what patch #2 covers.

-- 
Jens Axboe


      reply	other threads:[~2009-05-20  7:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20  6:59 [PATCH 0/2] libata: switch to block layer tagging Jens Axboe
2009-05-20  7:00 ` [PATCH 1/2] libata: switch to using block layer tagging support Jens Axboe
2009-05-20 11:53   ` Tejun Heo
2009-05-20 17:10   ` Grant Grundler
2009-05-20 18:08     ` Gwendal Grignou
2009-05-20 18:50       ` James Bottomley
2009-05-20 18:58         ` Jeff Garzik
2009-05-20 19:04           ` Jeff Garzik
2009-05-20 19:42             ` Gwendal Grignou
2009-05-20 19:47               ` Jeff Garzik
2009-05-21 13:44               ` Mark Lord
2009-05-21 17:27                 ` Jeff Garzik
2009-05-20 18:51       ` Jeff Garzik
2009-05-20 19:09     ` Jeff Garzik
2009-06-10 15:11   ` Jeff Garzik
2009-06-11  2:10     ` Tejun Heo
2009-05-20  7:01 ` [PATCH 2/2] block: add function for waiting for a specific free tag Jens Axboe
2009-05-20 11:55   ` Tejun Heo
2009-05-20 19:34     ` old-EH and SAS (was Re: [PATCH 2/2] block: add function for waiting for a specific free tag) Jeff Garzik
2009-05-21 16:34       ` Brian King
2009-05-20 17:28   ` [PATCH 2/2] block: add function for waiting for a specific free tag Grant Grundler
2009-05-20  7:53 ` [PATCH 0/2] libata: switch to block layer tagging Jeff Garzik
2009-05-20  7:57   ` Jens Axboe [this message]

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=20090520075753.GK11363@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=htejun@gmail.com \
    --cc=jeff@garzik.org \
    --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 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).