[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 Tue, Oct 24, 2006 at 07:21:58PM +0100, Alasdair G Kergon wrote:
> As discussed on irc, let's try to optimise out the deactivate/activate.

I've checked in an attempt to do this: it turns out that the current
structure of the code allows the simplest approach (skipping the cow
deactivate) to work regardless of whether or not options like --persistent
or --permission are supplied.  The 'snapshot' LV mapped device gets created
with the correct properties for the snapshot, but pointing to the cow and it
gets zeroed.  Then the cow is activated in a new mapped device and the old
one gets reused for the proper snapshot.

Alasdair
-- 
agk redhat com


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