]> git.baikalelectronics.ru Git - kernel.git/commit
loop: allow user to set the queue depth
authorChaitanya Kulkarni <kch@nvidia.com>
Tue, 15 Feb 2022 21:33:10 +0000 (13:33 -0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 27 Feb 2022 21:49:49 +0000 (14:49 -0700)
commita64f0bf3b950cba3cb34bac961d5396944f230c8
treea562878db89ad7fd62f271512593ccaca9d61d6c
parent960aff8cf2b4d7ffc87c92a0f9ef4da82c200ae9
loop: allow user to set the queue depth

Instead of hardcoding queue depth allow user to set the hw queue depth
using module parameter. Set default value to 128 to retain the existing
behavior.

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Link: https://lore.kernel.org/r/20220215213310.7264-5-kch@nvidia.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c