On 04/09/2018 03:15 PM, Chris Leech wrote: > Instead of always multicasting responses, send a unicast netlink message > directed at the correct pid. This will be needed if we ever want to > support multiple userspace processes interacting with the kernel over > iSCSI netlink simultaneously. Limitations can currently be seen if you > attempt to run multiple iscsistart commands in parallel. > > We've fixed up the userspace issues in iscsistart that prevented > multiple instances from running, so now attempts to speed up booting by > bringing up multiple iscsi sessions at once in the initramfs are just > running into misrouted responses that this fixes. As you may know, I disagree with running multiple iscsistart-s at the same time, since that's what iscsid is for. Never the less, I believe we _should_ be able to have multiple processes talking to the kernel target code, so I agree with these changes. > > Signed-off-by: Chris Leech <cleech@xxxxxxxxxx> > --- > drivers/scsi/scsi_transport_iscsi.c | 29 ++++++++++++++++++----------- > 1 file changed, 18 insertions(+), 11 deletions(-) > > ... (diffs removed to save electrons) > Reviewed-by: Lee Duncan <lduncan@xxxxxxxx> -- Lee Duncan SUSE Labs