]> 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)
commita58fb23128d5120c877b1eb3cef1d83a64e918d8
treea562878db89ad7fd62f271512593ccaca9d61d6c
parentc33f858ac3f704064d5db265aa9eb7dbd743a723
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