sata_nv: set host can_queue count appropriately
authorJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 15:27:03 +0000 (09:27 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 18:41:47 +0000 (12:41 -0600)
commit661d261aedff239537dfb5f852d5e4c8043417b6
tree8240d1a4980da47dfccc3680d255879ddc6ae4f2
parentb6a7837a2d15df92111931bd5f86a2d4043d9a9e
sata_nv: set host can_queue count appropriately

libata limits the max limit for drivers to 31 anyway. We'll soon
allow drivers to actually go to QD=32, but that might require some
driver modifications. Before we do that, ensure that sata_nv limits
the depth to 31.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/sata_nv.c