Skip to contentSkip to conversation

collapse (merge) snapshot into origin

linux-lvm Brian J. Murrell 2 participants 5 messages Sep 6, 2007 – Sep 23, 2009

lore
Share & tools
lore
#0 lore raw

There was, at one time, a patch floating around (from a fedora project IIRC) that would allow one to merge a snapshot into it's origin. Anyone know the whereabouts of that? Or more importantly if such a feature is being considered for an official LVM release?

b.

Signature · 3 lines
My other computer is your Microsoft Windows server.

Brian J. Murrell
#1 lore raw

Damn. I hate that... to answer at least one of my questions...

Quoted 1 line · Brian J. Murrell

There was, at one time, a patch floating around

http://www.gnome.org/~markmc/code/lvm-snapshot-merging/

Quoted 1 line

(from a fedora project

http://fedoraproject.org/wiki/StatelessLinuxCachedClient

I guess that just leaves this question:

Quoted 2 lines

[is] such a feature is
being considered for an official LVM release?

b.

Signature · 3 lines
My other computer is your Microsoft Windows server.

Brian J. Murrell
#2 lore raw
Quoted 3 lines · Brian J. Murrell
Quoted 2 lines · Brian J. Murrell

[is] such a feature is
being considered for an official LVM release?

Snapshot merging: yes.
The patches depended on another change (tracking all snapshot I/O to eliminate theoretical races) that's still outstanding, but once that's dealt with (it's tricky - my original proof-of-concept patch was ~800 lines so needed breaking up and rewriting), I expect them to follow quite quickly.

Alasdair

Signature · 1 line
[email protected]
#3 lore raw
Quoted 8 lines · Alasdair G Kergon
Quoted 1 line · Brian J. Murrell
Quoted 1 line

being considered for an official LVM release?

Snapshot merging: yes.
The patches depended on another change (tracking all snapshot I/O to eliminate theoretical races) that's still outstanding, but once that's dealt with (it's tricky - my original proof-of-concept patch was ~800 lines so needed breaking up and rewriting), I expect them to follow quite quickly.

Any progress on this?

b.