From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] How to handle repl_state is L_OFF in get_max_agreeable_size()
Date: Wed, 13 Jul 2016 12:16:48 +0200 [thread overview]
Message-ID: <20160713101648.GE29779@soda.linbit> (raw)
In-Reply-To: <CALLFrTQTyBH8oy4+17-REd=WG7r7ZAmzwVTbwfyrtby-wA1vJg@mail.gmail.com>
On Wed, Jul 13, 2016 at 03:56:55PM +0900, 박경민 wrote:
> I think get_max_agreeable_size() function return a agreeable size but first
> connected repl_state
>
> So, then will not call bm_resize through the agreeable size.
I don't understand what you are saying here.
> How's your opinion replacing in the get_max_agreeable_size()
> if (peer_device->repl_state[NOW] >= L_ESTABLISHED) {
> to
> if (peer_device->repl_state[NOW] >= L_OFF) {
There is no repl_state less than L_OFF.
Lars
prev parent reply other threads:[~2016-07-13 10:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 6:56 [Drbd-dev] How to handle repl_state is L_OFF in get_max_agreeable_size() 박경민
2016-07-13 10:16 ` Lars Ellenberg [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=20160713101648.GE29779@soda.linbit \
--to=lars.ellenberg@linbit.com \
--cc=drbd-dev@lists.linbit.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox