lp://qastaging/~serge-hallyn/ubuntu/lucid/multipath-tools/manz
- Get this branch:
- bzr branch lp://qastaging/~serge-hallyn/ubuntu/lucid/multipath-tools/manz
Branch merges
Branch information
- Owner:
- Serge Hallyn
- Status:
- Development
Recent revisions
- 52. By Serge Hallyn
-
Fix SCM failover bugs in manzanita:
1. multipathd expects uevents from kernel about /sys/block/sda. But
we are only getting them about /sys/devices/pci000: 00/.../ block/sda.
So we never add or remove devices that we should add based on
uevents.
2. Since we never see (or rather, never understand) the ACTION=remove
event for /dev/block/sda, but we have the device pinned, we never
end up unpinning it. So the kernel doesn't re-use sda when the
path shows back up. So we end up using funky-using paths like sdaa.
This looked for all the world like a kernel refcount problem, but
was actually a userspace bug. (We should have known based on the
fact that rollover stopped after multipathd crashed :)
Note that /sys/block/sda is always a symlink to the longer pathname.
This patch fixes this bug by accepting the uevents on the full block
/sys/ pathname. (LP: #660597)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/ubuntu/natty/multipath-tools