]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: iscsi_tcp: Drop target_alloc use
authorMike Christie <michael.christie@oracle.com>
Thu, 16 Jun 2022 22:45:53 +0000 (17:45 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Jun 2022 01:19:23 +0000 (21:19 -0400)
commit214f22a221ca05a1b425d281e052837f23733af4
treeeb78f5c2d9e23ce96852e54fe0717a89121bb877
parent44a5e5c0aaf5bf0a070899b7667842210f8fcc67
scsi: iscsi_tcp: Drop target_alloc use

For software iSCSI, we do a session per host so there is no need to set the
target's can_queue since it's the same as the host one. Setting it just
results in extra atomic checks in the main I/O path.

Link: https://lore.kernel.org/r/20220616224557.115234-6-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Wu Bo <wubo40@huawei.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/iscsi_tcp.c