All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nils Juergens <nils@muon.de>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] relocate on write for snapshot
Date: Fri, 19 Nov 2004 18:19:33 +0100	[thread overview]
Message-ID: <20041119171933.GA1417@trip.muon.local> (raw)
In-Reply-To: <1100882347.2984.32.camel@localhost.localdomain>

On Fri, 19.11.04, Ming Zhang <mingz@ele.uri.edu> wrote:

> 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.

Since you have to delete the snapshot (and I don't think they live very long
on most systems) you don't gain anything (because you have copy the changes
back from the snapshot), but you make the cases of more than one snapshot
and (possibly) read-write snapshots a lot harder, maybe not in CPU or IO,
but certainly in code complexity, which is a thing you never do to gain
a bit of performance.

> i know later remove a snaphot will be a little trouble, but there must
> be some way to get around it.

Yes, you have to do the work you saved a couple of minutes earlier :)

just my EUR 0.02,
Nils

-- 
Nils Juergens  | nils@muon.de | icq 7090774
Having problems sending big files over the net?
Try out Efisto (http://efisto.org).

  parent reply	other threads:[~2004-11-19 17:19 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
2004-11-19 17:19 ` Nils Juergens [this message]
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=20041119171933.GA1417@trip.muon.local \
    --to=nils@muon.de \
    --cc=linux-lvm@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.