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>
Tue, 15 Feb 2022 21:42:01 +0000 (14:42 -0700)
commite54bd217b58567115f3ad7dd0abb0a9a8f357118
treee94f05f9b0154509aeb7ecacca7cb670857fa20c
parent29e13a9196fd0cab2f699efef0d0b5110f6f64ac
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