All of lore.kernel.org
 help / color / mirror / Atom feed
From: majianpeng <majianpeng@gmail.com>
To: NeilBrown <neilb@suse.de>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Commit "db91ff55bdf06736b" using curr_resync_completed instead of curr_resync when interrupted the resync operation
Date: Thu, 25 Oct 2012 14:16:02 +0800	[thread overview]
Message-ID: <201210251415581641823@gmail.com> (raw)

Hi Neil,
>commit db91ff55bdf06736b849afc1b1fce5763bbb8d5d
>    1/ If a resync is aborted we should record how far we got
>     (recovery_cp) the last request that we know has completed
>     (->curr_resync_completed) rather than the last request that was
>     submitted (->curr_resync).
If resync operation interrupted,it will call:
>	wait_event(mddev->recovery_wait, !atomic_read(&mddev->recovery_active));
So the curr_resync must be complete. Using curr_resync is safe.
--------------
majianpeng

             reply	other threads:[~2012-10-25  6:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25  6:16 majianpeng [this message]
2012-10-28 22:47 ` Commit "db91ff55bdf06736b" using curr_resync_completed instead of curr_resync when interrupted the resync operation NeilBrown

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=201210251415581641823@gmail.com \
    --to=majianpeng@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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.