]> sourceware.org Git - lvm2.git/commit
Retry DM_DEVICE_REMOVE ioctl if device is busy.
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 13 Sep 2011 15:13:41 +0000 (15:13 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 13 Sep 2011 15:13:41 +0000 (15:13 +0000)
commit40a234183c91f08e6dee12cd6de91b46cceb189e
tree3f5bd119efe88a7d66568a8b777f1f54064eb994
parentbfd774a20a22f8224a8bc3b507c4564fe6f54fc6
Retry DM_DEVICE_REMOVE ioctl if device is busy.

This is a workaround for long-lasting problem with using the WATCH udev
rule. When trying to remove a DM device, this one can still be opened
while processing the event in parallel (generated based on the WATCH
udev rule).

Let's use this until we have a proper solution.
WHATS_NEW_DM
libdm/ioctl/libdm-iface.c
This page took 0.031544 seconds and 5 git commands to generate.