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

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



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


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