]> www.infradead.org Git - nvme.git/commit
scsi: target: core: Move core_alua_check_nonop_delay() call
authorMike Christie <michael.christie@oracle.com>
Thu, 28 Sep 2023 02:09:02 +0000 (21:09 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Oct 2023 19:53:57 +0000 (15:53 -0400)
commitee48345e1ccaaa7a9f0a8b34c694a68286ac78fa
treedce0cb07a24c086166103153ec15e0e2a5f15262
parent194605d45dcb511983caca699d81855693b25fe0
scsi: target: core: Move core_alua_check_nonop_delay() call

Move core_alua_check_nonop_delay() to transport_handle_cdb_direct() so the
iSCSI target driver doesn't have to call as many core functions
directly. We will eventually merge transport_handle_cdb_direct and
target_submit so iSCSI and the other drivers call a common function.

It will also be helpful as preparation for future changes which allow the
iSCSI target to defer command submission to the LIO submission workqueue,
because we will have a common submission function for that which will be
based on transport_handle_cdb_direct()/target_submit().

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20230928020907.5730-3-michael.christie@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/iscsi/iscsi_target.c
drivers/target/target_core_alua.c
drivers/target/target_core_transport.c
include/target/target_core_fabric.h