libata: use blk taging
authorShaohua Li <shli@fb.com>
Fri, 16 Jan 2015 01:32:27 +0000 (17:32 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 23 Jan 2015 21:19:04 +0000 (14:19 -0700)
commit12cb5ce101abfaf74421f8cc9f196e708209eb79
treec30f73bca31bacf234398535ef500dcdb4ac4f09
parenta4a1cc16a72fd957b4cc2bda12479117f5bec8f8
libata: use blk taging

libata uses its own tag management which is duplication and the
implementation is poor. And if we switch to blk-mq, tag is build-in.
It's time to switch to generic taging.

The SAS driver has its own tag management, and looks we can't directly
map the host controler tag to SATA tag. So I just bypassed the SAS case.

I changed the code/variable name for the tag management of libata to
make it self contained. Only sas will use it. Later if libsas implements
its tag management, the tag management code in libata can be deleted
easily.

Cc: Jens Axboe <axboe@fb.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Shaohua Li <shli@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h
include/linux/libata.h
This page took 0.024878 seconds and 5 git commands to generate.