Project

General

Profile

Actions

Bug #4186

closed

rbd: add another "udevadm settle" in the CLI

Added by Alex Elder about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues 1 (0 open1 closed)

Related to rbd - Bug #4183: rbd: EBUSY on unmap right after ioResolvedSage Weil02/18/2013

Actions
Actions

Also available in: Atom PDF