From: Mike Snitzer <snitzer@redhat.com>
To: dm-devel@redhat.com
Cc: Mikulas Patocka <mpatocka@redhat.com>
Subject: Re: [PATCH 1/4] dm-snapshot-rework-origin-write
Date: Tue, 6 Oct 2009 10:17:10 -0400 [thread overview]
Message-ID: <20091006141710.GA19024@redhat.com> (raw)
In-Reply-To: <1254769231-12053-2-git-send-email-snitzer@redhat.com>
On Mon, Oct 05 2009 at 3:00pm -0400,
Mike Snitzer <snitzer@redhat.com> wrote:
> From: Mikulas Patocka <mpatocka@redhat.com>
>
> Rework writing to snapshot origin.
>
> The previous code selected one exception as "primary_pe", linked all other
> exceptions on it and used reference counting to wait until all exceptions are
> reallocated. This didn't work with exceptions with different chunk sizes:
> https://bugzilla.redhat.com/show_bug.cgi?id=182659
>
> I removed all the complexity with exceptions linking and reference counting.
> Currently, bio is linked on one exception and when that exception is
> reallocated, the bio is retried to possibly wait for other exceptions.
>
> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
FYI, I added my "Signed-off-by" because I had to update this patch to
account for changes from these upstream linux-2.6 commits:
2913808e (dm snapshot: refactor __find_pending_exception)
c6621392 (dm snapshot: avoid dropping lock in __find_pending_exception)
0cea9c78 (dm exception store: move dm_target pointer)
next prev parent reply other threads:[~2009-10-06 14:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 19:00 [PATCH 0/4] snapshot-merge preparation Mike Snitzer
2009-10-05 19:00 ` [PATCH 1/4] dm-snapshot-rework-origin-write Mike Snitzer
2009-10-06 14:17 ` Mike Snitzer [this message]
2009-10-07 17:39 ` Jonathan Brassow
2009-10-05 19:00 ` [PATCH 2/4] dm-snapshot-refactor-associations Mike Snitzer
2009-10-07 17:38 ` Jonathan Brassow
2009-10-07 18:24 ` Mike Snitzer
2009-10-08 17:32 ` Mike Snitzer
2009-10-08 21:14 ` Jonathan Brassow
2009-10-05 19:00 ` [PATCH 3/4] dm-snapshot-exception-handover Mike Snitzer
2009-10-06 14:38 ` Mike Snitzer
2009-10-07 17:42 ` Jonathan Brassow
2009-10-05 19:00 ` [PATCH 4/4] dm-exception-store-dont-read-metadata-if-going-to-handover Mike Snitzer
2009-10-07 17:48 ` Jonathan Brassow
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=20091006141710.GA19024@redhat.com \
--to=snitzer@redhat.com \
--cc=dm-devel@redhat.com \
--cc=mpatocka@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.