From: Mike Snitzer <snitzer@redhat.com>
To: lvm-devel@redhat.com
Subject: Re: [PATCH 3/4] Define new periodic polling method: poll_progress
Date: Tue, 29 Sep 2009 18:09:43 -0400 [thread overview]
Message-ID: <20090929220943.GB2666@redhat.com> (raw)
In-Reply-To: <1254237777-30501-4-git-send-email-snitzer@redhat.com>
On Tue, Sep 29 2009 at 11:22am -0400,
Mike Snitzer <snitzer@redhat.com> wrote:
> Define new polling method poll_progress that is called periodically. The method
> can return:
> 0 --- error
> PROGRESS_TRY_AGAIN --- should be called again after specified interval
> PROGRESS_UPDATE_METADATA --- should call update_metadata method and continue
> polling
> PROGRESS_FINISHED --- should call finish_copy and exit polling
>
> The hard-coded mirror-specific code in polldaemon was moved to function
> poll_mirror_progress. The rest of the polldaemon is mirror-free so it can be
> used for merging snapshots as well.
Updated patch is available here:
http://people.redhat.com/msnitzer/patches/snapshot-merge/lvm2/LVM2-2.02.54/lvm-poll-progress-method.patch
next prev parent reply other threads:[~2009-09-29 22:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-29 15:22 [PATCH 0/4] Clean-up polldaemon to be more generic to allow re-use Mike Snitzer
2009-09-29 15:22 ` [PATCH 1/4] Rename the polldaemon's mirror-specific names Mike Snitzer
2009-09-29 15:22 ` [PATCH 2/4] Eliminate _check_lv_status's 'name' argument Mike Snitzer
2009-09-29 22:09 ` Mike Snitzer
2009-09-29 15:22 ` [PATCH 3/4] Define new periodic polling method: poll_progress Mike Snitzer
2009-09-29 22:09 ` Mike Snitzer [this message]
2009-09-29 15:22 ` [PATCH 4/4] Move activation of background polling processes to a common function Mike Snitzer
2009-09-29 20:44 ` Alasdair G Kergon
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=20090929220943.GB2666@redhat.com \
--to=snitzer@redhat.com \
--cc=lvm-devel@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.