scsi: tcm_loop: Allow queues, can_queue and cmd_per_lun to be settable
authorMike Christie <michael.christie@oracle.com>
Sun, 1 Nov 2020 18:59:34 +0000 (12:59 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 5 Nov 2020 03:39:38 +0000 (22:39 -0500)
commit94a0dfcf7d33ea96bf3eb0c33e4239942a4ff087
treecc8eba335f47d6d17801c15466b630417b0970c0
parent1526d9f10c6184031e42afad0adbdde1213e8ad1
scsi: tcm_loop: Allow queues, can_queue and cmd_per_lun to be settable

Make can_queue, nr_hw_queues and cmd_per_lun settable by the user instead
of hard coding them.

Link: https://lore.kernel.org/r/1604257174-4524-9-git-send-email-michael.christie@oracle.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/loopback/tcm_loop.c