mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Johannes Thumshirn <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
bf231981be
commit
6fd5b91dab
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue