summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2015-01-23 20:17:59 -0800
committerJens Axboe <axboe@fb.com>2015-01-26 09:44:04 -0700
commit9269e23496ddd83b974536019cf420520df0ee7f (patch)
treeb95d7cbd17fe2566966f0635d33d8096ee8cef65 /drivers/ata
parent98bd4be1ba95f2fe7f543910792b7163a5de06eb (diff)
downloadtalos-obmc-linux-9269e23496ddd83b974536019cf420520df0ee7f.tar.gz
talos-obmc-linux-9269e23496ddd83b974536019cf420520df0ee7f.zip
libata: make sata_sil24 use fifo tag allocator
libata starts using block tag now, we can use BLK_TAG_ALLOC_FIFO to solve the sata_sil24 tag bug. https://bugzilla.kernel.org/show_bug.cgi?id=87101 Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Shaohua Li <shli@fb.com> Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_sil24.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c
index d81b20ddb527..52428971ba94 100644
--- a/drivers/ata/sata_sil24.c
+++ b/drivers/ata/sata_sil24.c
@@ -388,6 +388,7 @@ static struct scsi_host_template sil24_sht = {
.can_queue = SIL24_MAX_CMDS,
.sg_tablesize = SIL24_MAX_SGE,
.dma_boundary = ATA_DMA_BOUNDARY,
+ .tag_alloc_policy = BLK_TAG_ALLOC_FIFO,
};
static struct ata_port_operations sil24_ops = {
OpenPOWER on IntegriCloud