Commit af17092
scsi: iscsi: respond to netlink with unicast when appropriate
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.
Signed-off-by: Chris Leech <cleech@redhat.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 60cc43f commit af17092
1 file changed
+18
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2322 | 2322 | | |
2323 | 2323 | | |
2324 | 2324 | | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
2325 | 2331 | | |
2326 | 2332 | | |
2327 | 2333 | | |
| |||
2524 | 2530 | | |
2525 | 2531 | | |
2526 | 2532 | | |
2527 | | - | |
2528 | | - | |
| 2533 | + | |
2529 | 2534 | | |
2530 | 2535 | | |
2531 | 2536 | | |
2532 | 2537 | | |
2533 | | - | |
2534 | | - | |
2535 | 2538 | | |
2536 | 2539 | | |
2537 | 2540 | | |
2538 | 2541 | | |
2539 | 2542 | | |
2540 | 2543 | | |
2541 | 2544 | | |
2542 | | - | |
2543 | | - | |
| 2545 | + | |
2544 | 2546 | | |
2545 | | - | |
| 2547 | + | |
2546 | 2548 | | |
2547 | 2549 | | |
2548 | 2550 | | |
| |||
3470 | 3472 | | |
3471 | 3473 | | |
3472 | 3474 | | |
| 3475 | + | |
3473 | 3476 | | |
3474 | 3477 | | |
3475 | 3478 | | |
| |||
3490 | 3493 | | |
3491 | 3494 | | |
3492 | 3495 | | |
| 3496 | + | |
| 3497 | + | |
3493 | 3498 | | |
3494 | 3499 | | |
3495 | 3500 | | |
3496 | | - | |
| 3501 | + | |
3497 | 3502 | | |
3498 | 3503 | | |
3499 | 3504 | | |
| |||
3506 | 3511 | | |
3507 | 3512 | | |
3508 | 3513 | | |
3509 | | - | |
| 3514 | + | |
3510 | 3515 | | |
3511 | 3516 | | |
3512 | 3517 | | |
| |||
3664 | 3669 | | |
3665 | 3670 | | |
3666 | 3671 | | |
| 3672 | + | |
| 3673 | + | |
3667 | 3674 | | |
3668 | 3675 | | |
3669 | 3676 | | |
| |||
3699 | 3706 | | |
3700 | 3707 | | |
3701 | 3708 | | |
3702 | | - | |
3703 | | - | |
| 3709 | + | |
| 3710 | + | |
3704 | 3711 | | |
3705 | 3712 | | |
3706 | 3713 | | |
| |||
0 commit comments