Re: [PATCH 07/14] qla2xxx: Convert to new submission API

Christoph Hellwig
2021-02-11T15:32:00Z

On Thu, Feb 11, 2021 at 06:27:21AM -0600, Mike Christie wrote:
> 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.

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>