libata: make sata_sil24 use fifo tag allocator
authorShaohua Li <shli@fb.com>
Sat, 24 Jan 2015 04:17:59 +0000 (20:17 -0800)
committerJens Axboe <axboe@fb.com>
Mon, 26 Jan 2015 16:44:04 +0000 (09:44 -0700)
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>
drivers/ata/sata_sil24.c

index d81b20ddb52736de9f9b7e15126382ebdeec2e37..52428971ba9468e98da6db30b5b60f2ca6f74fde 100644 (file)
@@ -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 = {