Project

General

Profile

Actions

Bug #4183

closed

rbd: EBUSY on unmap right after io

Added by Sage Weil about 11 years ago. Updated about 11 years ago.

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

0%

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

Description

the map-snapshot-io.sh does

rbd create image -s 100
rbd map image
udevadm settle  # note: newer versions of rbd do this for you.
dd if=/dev/zero of=/dev/rbd/rbd/image oflag=direct count=10
...some other unimportant stuff i commented out...
rbd unmap /dev/rbd/rbd/image
rbd rm image

and consistently gets EBUSY on the unmap step. adding in a sleep 1 beforehand avoids the problem. since the dd is clearly completed, i don't think that should happen.

this is on the testing kernel, 3.8.0-rc5-ceph-00098-g0774130.


Related issues 1 (0 open1 closed)

Related to rbd - Bug #4186: rbd: add another "udevadm settle" in the CLIResolvedSage Weil02/18/2013

Actions
Actions

Also available in: Atom PDF