From: Clint Byrum <cbyrum@spamaps.org>
To: mingz@ele.uri.edu,
LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] relocate on write for snapshot
Date: Fri, 19 Nov 2004 09:05:20 -0800 [thread overview]
Message-ID: <1100883920.16306.2.camel@localhost> (raw)
In-Reply-To: <1100882347.2984.32.camel@localhost.localdomain>
On Fri, 2004-11-19 at 11:39 -0500, Ming Zhang wrote:
> Hi, I wonder if there are any thought about a relocate on write policy
> for snapshot instead of copy on write policy used now?
>
> instead of copy old one to snapshot, overwrite old one with new one, 2
> writes and 1 reads. it is possible that write new data to a usused
> location directly.
>
> i know later remove a snaphot will be a little trouble, but there must
> be some way to get around it.
>
> just a rough thought, any comment?
>
I thought the way it worked now was for snapshot LV to be marked as the
"active destination" for all new writes to the logical volume. On write,
the data isn't copied, just the metadata is changed to reflect which
physical extent the block is now located on, and the old one is then
reallocated as part of the snapshot.
Am I wrong?
--
Clint Byrum <cbyrum@spamaps.org>
next prev parent reply other threads:[~2004-11-19 17:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-19 16:39 [linux-lvm] relocate on write for snapshot Ming Zhang
2004-11-19 17:05 ` Clint Byrum [this message]
2004-11-19 17:19 ` Nils Juergens
2004-11-19 17:56 ` Ming Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1100883920.16306.2.camel@localhost \
--to=cbyrum@spamaps.org \
--cc=linux-lvm@redhat.com \
--cc=mingz@ele.uri.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox