Re: [libvirt] [PATCH] storage: Wait udev events are handled before removing lvm vol

2011-09-21 Thread Osier Yang
于 2011年09月21日 23:18, Eric Blake 写道: On 09/21/2011 12:52 AM, Osier Yang wrote: Related #BZ: https://bugzilla.redhat.com/show_bug.cgi?id=702260. There are two problems described in the BZ: 1) "Can't remove open logical volume". 2) "Unable to deactivate logical volume "foo"" This patch just inten

Re: [libvirt] [PATCH] storage: Wait udev events are handled before removing lvm vol

2011-09-21 Thread Eric Blake
On 09/21/2011 12:52 AM, Osier Yang wrote: Related #BZ: https://bugzilla.redhat.com/show_bug.cgi?id=702260. There are two problems described in the BZ: 1) "Can't remove open logical volume". 2) "Unable to deactivate logical volume "foo"" This patch just intends to fix 2), as 1) is expected if th

[libvirt] [PATCH] storage: Wait udev events are handled before removing lvm vol

2011-09-20 Thread Osier Yang
Related #BZ: https://bugzilla.redhat.com/show_bug.cgi?id=702260. There are two problems described in the BZ: 1) "Can't remove open logical volume". 2) "Unable to deactivate logical volume "foo"" This patch just intends to fix 2), as 1) is expected if the vol is still used by something, and you ne