]> asedeno.scripts.mit.edu Git - linux.git/commit
skd: Let the block layer core choose .nr_requests
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 29 Aug 2017 15:32:10 +0000 (08:32 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 15:43:06 +0000 (09:43 -0600)
commit6fd5b91dab08106822f3c95a343e6724e88f0951
tree883f6b45d07b022c0ce4dc421780b483e0f87c70
parentbf231981bef52eb4130d30ffc06a6fe256866602
skd: Let the block layer core choose .nr_requests

Since blk_mq_init_queue() initializes .nr_requests to the tag set
size and since that value is a good default for the skd driver, do
not overwrite the value set by blk_mq_init_queue(). This change
doubles the default value of .nr_requests.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c