diff options
author | Mike Christie <michael.christie@oracle.com> | 2021-02-27 10:59:48 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-04 17:37:01 -0500 |
commit | 919ba0ad7d5a52cb83ae9aebe4500d8bed0a0830 (patch) | |
tree | 1c10bcd01d068fab9c36dbae167b258c5206a91a /kernel/static_call.c | |
parent | 7d676851de8485ccf99288134eee184e9fd5dac0 (diff) |
scsi: target: qla2xxx: Convert to new submission API
target_submit_cmd() is now only for simple drivers that do their
own sync during shutdown and do not use target_stop_session().
tcm_qla2xxx uses target_stop_session() to sync session shutdown with LIO
core, so we use target_init_cmd()/target_submit_prep()/target_submit(),
because target_init_cmd() will detect the target_stop_session() call and
return an error.
Link: https://lore.kernel.org/r/20210227170006.5077-8-michael.christie@oracle.com
Cc: Nilesh Javali <njavali@marvell.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
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>
Diffstat (limited to 'kernel/static_call.c')
0 files changed, 0 insertions, 0 deletions