libata: switch to using block layer tagging support
authorJens Axboe <jens.axboe@oracle.com>
Wed, 22 Oct 2008 07:34:49 +0000 (09:34 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Oct 2008 23:05:26 +0000 (16:05 -0700)
commit2fca5ccf97d2c28bcfce44f5b07d85e74e3cd18e
tree483dedd08d6ccbb56959eeb127e82ab8f84edf2e
parent332edc2f7fa58b818dfed1cede60272eecc27c0a
libata: switch to using block layer tagging support

libata currently has a pretty dumb ATA_MAX_QUEUE loop for finding
a free tag to use. Instead of fixing that up, convert libata to
using block layer tagging - gets rid of code in libata, and is also
much faster.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h
include/linux/libata.h