Re: [RFC, 2nd try] Let udev play with snapshots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 23, 2006 at 03:41:00PM +0200, Jan Blunck wrote:
> On Wed, Oct 11, Jan Blunck wrote:
> > - removing "vg-snapshot"                                                  (1)
> Actually this must be deactivation of vg-snapshot. This is where the
> deactivation code complains about the usage count of the LV.
 
The step will fail if it's still open by the time the kernel tries
to remove it.

As discussed on irc, let's try to optimise out the deactivate/activate.
 (a) activate cow excl local invisible (overriding 'visible' in metadata) ?
 (b) initialise zeros
 (c) ensure dev_flush() ran
 (d) skip the deactivate step
 ...

Alasdair
-- 
agk@redhat.com

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux