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 #1

Updated by Sage Weil about 11 years ago

  • Status changed from New to Fix Under Review

see wip-4186

Actions #2

Updated by Alex Elder about 11 years ago

The change looks good to me.

Reviewed-by: Alex Elder <>

Actions #3

Updated by Sage Weil about 11 years ago

  • Status changed from Fix Under Review to Resolved

commit:8ca2274cc09c6a9925cbe86ccaf68db7898956e8

Actions #4

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! :)

Actions

Also available in: Atom PDF