Bug #4186
closedrbd: add another "udevadm settle" in the CLI
0%
Description
In http://tracker.ceph.com/issues/4183 it was reported that
unmapping an image was failing because it was busy.
Further analysis showed this was due to udev (again) triggering
"blkid" to identify the device again after the final close.
Sometimes this didn't complete before the attempt to unmap the
device, leading to the EBUSY.
The fix is to run "udevadm settle" before running the
unmap command, much like it is run after the map command.
Assigning this to Dan for now, since I believe he inserted
the "udevadm settle" command before. Dan, feel free to
reassign if you like.
Updated by Alex Elder about 11 years ago
The change looks good to me.
Reviewed-by: Alex Elder <elder@inktank.com>
Updated by Sage Weil about 11 years ago
- Status changed from Fix Under Review to Resolved
commit:8ca2274cc09c6a9925cbe86ccaf68db7898956e8
Updated by Dan Mick about 11 years ago
- Assignee changed from Dan Mick to Sage Weil
awesome, I fixed this without even knowing it existed! :)