All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Ryan <mike.ryan@inktank.com>
To: Sage Weil <sage@inktank.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: PG recovery reservation state chart
Date: Tue, 2 Oct 2012 14:43:06 -0700	[thread overview]
Message-ID: <20121002214306.GG8206@splice> (raw)
In-Reply-To: <alpine.DEB.2.00.1210021434450.27524@cobra.newdream.net>

> This all looks right to me.  I only have one concern: if, at some future 
> point, we decide it's necessary or worthwhile to avoid non-backfill 
> recovery due to targets begin full, does this approach preclude an elegant 
> solution?

I believe this encourages an elegant solution:

We add a new state if a remote reservation is rejected:

   WaitRemoteRecoveryReserved -> SleepALittle -> LocalReserving
  
In the new state we drop the remote reservations we acquired and wait
until a timer goes off before transitioning back into LocalReserving.

      reply	other threads:[~2012-10-02 21:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 19:48 PG recovery reservation state chart Mike Ryan
2012-10-02 20:02 ` Gregory Farnum
2012-10-02 20:21   ` Mike Ryan
2012-10-02 20:31 ` Josh Durgin
2012-10-02 20:40   ` Mike Ryan
2012-10-02 20:35 ` Tommi Virtanen
2012-10-02 20:42   ` Mike Ryan
2012-10-02 22:00     ` Josh Durgin
2012-10-02 22:39       ` Mike Ryan
2012-10-02 21:36 ` Sage Weil
2012-10-02 21:43   ` Mike Ryan [this message]

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=20121002214306.GG8206@splice \
    --to=mike.ryan@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@inktank.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.