[Drbd-dev] How to handle repl_state is L_OFF in get_max_agreeable_size()

Lars Ellenberg lars.ellenberg at linbit.com
Wed Jul 13 12:16:48 CEST 2016


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



More information about the drbd-dev mailing list