Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.7]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4B6cxva020448 for ; Tue, 11 May 2010 02:38:59 -0400 Received: from web7908.mail.in.yahoo.com (web7908.mail.in.yahoo.com [202.86.4.84]) by mx1.redhat.com (8.13.8/8.13.8) with SMTP id o4B6cnx8001349 for ; Tue, 11 May 2010 02:38:50 -0400 Message-ID: <703717.53679.qm@web7908.mail.in.yahoo.com> Date: Tue, 11 May 2010 12:08:48 +0530 (IST) From: andiket a In-Reply-To: <1a46793.2153.1288523e143.Coremail.chaimvy@163.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-260942557-1273559928=:53679" Subject: Re: [linux-lvm] LVM multiple Snpshots implementation query Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --0-260942557-1273559928=:53679 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks a lot. I wasnt of the patch. Yes, I am looking for a similar thing. Right now after snapshot the cow is done for all the snapshots if there is = a write on origin. This is an obvious thing. Wondering it was missed in original lvm/dm snapsh= ot code. Any idea? --- On Tue, 11/5/10, Busby.Cheung wrote: From: Busby.Cheung Subject: Re: [linux-lvm] LVM multiple Snpshots implementation query To: "LVM general discussion and development" Date: Tuesday, 11 May, 2010, 7:44 AM Did you mean you want to use something like shared-snapshot? COW once?=0AI = know shared-snapshot implemented by Mikulas and others:=0Ahttp://people.red= hat.com/mpatocka/patches/kernel/new-snapshots/r19/=0A=C2=A0=0A =C2=A0 =E5=9C=A82010-05-10=EF=BC=8C"andiket a" =E5=86=99= =E9=81=93=EF=BC=9A =0A-----=E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6----- =E5=8F=91=E4=BB=B6=E4=BA=BA:"andiket a" =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4:2010=E5=B9=B45=E6=9C=8810=E6=97=A5 =E6= =98=9F=E6=9C=9F=E4=B8=80 =E6=94=B6=E4=BB=B6=E4=BA=BA:linux-lvm@redhat.com =E4=B8=BB=E9=A2=98:[linux-lvm] LVM multiple Snpshots implementation query =0A=0A=0A=0AHi, If there are multiple snapshots then write to origin is an expensive operat= ion. My understanding after looking at the code of orig_wirte() is that if a wri= te comes on a chunk on orig device then cow is initiated for all the snapsh= ots. This is an expensive operation for sure. Does anyone know if there was any reason behind implementing it like this? Thanks, Andiket. =0A=E7=BD=91=E6=98=93=E4=B8=BA=E4=B8=AD=E5=B0=8F=E4=BC=81=E4=B8=9A=E5=85=8D= =E8=B4=B9=E6=8F=90=E4=BE=9B=E4=BC=81=E4=B8=9A=E9=82=AE=E7=AE=B1=EF=BC=88=E8= =87=AA=E4=B8=BB=E5=9F=9F=E5=90=8D=EF=BC=89=0A -----Inline Attachment Follows----- _______________________________________________ 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/=0A=0A --0-260942557-1273559928=:53679 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Thanks a lot.
I wasnt of the patch.
Yes, I am looking for a similar thing.
Right now after snapshot the cow= is done for all the snapshots if there is a write on origin.

This i= s an obvious thing. Wondering it was missed in original lvm/dm snapshot cod= e.

Any idea?


--- On Tue, 11/5/10, Busby.Cheung <= chaimvy@163.com> wrote:

From: Bu= sby.Cheung <chaimvy@163.com>
Subject: Re: [linux-lvm] LVM multiple= Snpshots implementation query
To: "LVM general discussion and developme= nt" <linux-lvm@redhat.com>
Date: Tuesday, 11 May, 2010, 7:44 AM

-----Inline Attachment Follows-----

_______________________________________________
linux-lvm mailing l= ist
linux-lvm@redhat.com
https://www.redhat.c= om/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-H= OWTO/

--0-260942557-1273559928=:53679--