multipathd: remove reset option from update_multipath
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Benjamin Marzinski
Since all callers now set the reset argument, it's unnecessary to keep
it as an argument.Signed-off-by Benjamin Marzinski <[email protected]>
This breaks the dmevents test, because __wrap_update_multipath() hasn't been updated. I'll fix it.
Martin
Quoted 10 lines · Martin Wilck
Quoted 5 lines · Benjamin Marzinski
Since all callers now set the reset argument, it's unnecessary to keep
it as an argument.Signed-off-by Benjamin Marzinski <[email protected]>This breaks the dmevents test, because
__wrap_update_multipath()hasn't
been updated. I'll fix it.
Actually, this caused the dmevents test to hang, because the failure in __wrap_update_multipath() would cause an immediate return to the cmocka code, bypassing cleanup_lock() in dmevent_loop(), causing deadlock when the lock is taken in the next invocation.
See e.g.
https://github.com/openSUSE/multipath-tools/actions/runs/7116036356/job/19373506650#step:17:49
Martin