Re: [PATCH] scsi: scsi_dh_alua: set handler_data before alua_initialize()
From: John Garry
Date: Mon Nov 16 2026 - 03:45:05 EST
On 11/15/26 19:37, Laurence Oberman wrote:
Agreed, group_id is never read or written. All other members are
initialized before handler_data is set (h is kzalloc'd, and disabled
is set under init_mutex in alua_initialize()).
I would prefer to keep this patch minimal since it is tagged for
stable, and send a follow-up cleanup that drops the now-redundant
h check in alua_rtpg_queue() and removes the unused group_id member.
Does that work for you, or would you rather I fold both into a v2?
I think that you can keep it separate.
Thanks,
John