Re: [PATCH rdma-next] RDMA/srpt: Pass the mapped task attribute to target_init_cmd()
From: Leon Romanovsky
Date: Wed Jul 22 2026 - 02:20:43 EST
On Tue, 21 Jul 2026 12:10:56 +0300, Leon Romanovsky wrote:
> srpt_handle_cmd() maps the initiator-supplied srp_cmd->task_attr into
> cmd->sam_task_attr, but then hands a hardcoded TCM_SIMPLE_TAG to
> target_init_cmd().
>
> Pass the already mapped cmd->sam_task_attr instead, so target core sees the
> attribute the initiator requested.
>
> [...]
Applied, thanks!
[1/1] RDMA/srpt: Pass the mapped task attribute to target_init_cmd()
https://git.kernel.org/rdma/rdma/c/ef63cc44170341
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>