diff options
| author | 2016-10-21 05:38:53 +0000 | |
|---|---|---|
| committer | 2016-10-21 05:38:53 +0000 | |
| commit | 7957e4915845d95523e4794a9ce5f3406553a1d1 (patch) | |
| tree | 1d0711c24504063e41ccfd313da3717c8fe80496 /lib/libc/stdlib/malloc.c | |
| parent | - PF should send a challenge ACK as response to SYN, which matches existing (diff) | |
| download | wireguard-openbsd-7957e4915845d95523e4794a9ce5f3406553a1d1.tar.xz wireguard-openbsd-7957e4915845d95523e4794a9ce5f3406553a1d1.zip | |
mitigate against mpii device attachment racing with mountroot
mpii devices get attached by processing sas discovery events after
threads are running, but if you have a lean (in terms of devices)
and fast machine, these events might run after mountroot.
this change has mpii use config_pending_incr() before it attaches
scsibus, and runs config_pending_decr() after the first scan of the
bus is complete.
to make sure config_pending_decr() is run after the scsi attach/detach
events are processed, the MPII_EVENT_SAS_DISCOVERY events are
deferred to the same context that the MPII_EVENT_SAS_TOPOLOGY_CHANGE_LIST
events run in.
ok jmatthew@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
