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)
commitef44c50837ab7818920bd9994b36d6e573312abc
treea562878db89ad7fd62f271512593ccaca9d61d6c
parent9c64e38cc639537ad9b542635af1733e8cb5e19b
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