summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-29 08:32:10 -0700
committerJens Axboe <axboe@kernel.dk>2017-08-29 09:43:06 -0600
commit6fd5b91dab08106822f3c95a343e6724e88f0951 (patch)
tree883f6b45d07b022c0ce4dc421780b483e0f87c70 /drivers/block
parentbf231981bef52eb4130d30ffc06a6fe256866602 (diff)
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>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/skd_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index f987ff601a4c..7cedb4295e9d 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -2845,7 +2845,6 @@ static int skd_cons_disk(struct skd_device *skdev)
goto err_out;
}
q->queuedata = skdev;
- q->nr_requests = skd_max_queue_depth / 2;
skdev->queue = q;
disk->queue = q;