On 2/17/21 12:27 PM, Mike Christie wrote:
target_submit_cmd_map_sgls is being removed, so convert srpt to the new submission API. srpt 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.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>