OSDN Git Service

sata_nv: set host can_queue count appropriately
authorJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 18:51:08 +0000 (12:51 -0600)
committerTejun Heo <tj@kernel.org>
Fri, 11 May 2018 20:10:43 +0000 (13:10 -0700)
commitba80c3a572f4db2153a1a94c02f27a4566ca0995
treec3bf6292b49faad42ab1b4b442bd415daa11c933
parent9d207accca2c262206d0a9327ef1444c70cc0bdf
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>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_nv.c