]> 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)
commit8171b93700f8f6f6a646d8b894e7cd5ba7236783
tree3f5bd119efe88a7d66568a8b777f1f54064eb994
parentcc9dc919e6fe3d005cfdd2ba46edf4aba62a7ac3
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.03106 seconds and 5 git commands to generate.