md-cluster: Avoid the resync ping-pong
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sun, 20 Dec 2015 23:50:59 +0000 (10:50 +1100)
committerNeilBrown <neilb@suse.com>
Wed, 6 Jan 2016 00:38:27 +0000 (11:38 +1100)
commitac277c6a8a39bc50f891a3477625330c276bd7f5
tree767ee803cc2e14dddf8607554b14b6b6e60748c4
parentb46020aa3a8a0f9c7324fe0af4aec4227f947a10
md-cluster: Avoid the resync ping-pong

If a RESYNCING message with (0,0) has been sent before, do not send it
again. This avoids a resync ping pong between the nodes. We read
the bitmap lockresource's LVB to figure out the previous value
of the RESYNCING message.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md-cluster.c
This page took 0.031521 seconds and 5 git commands to generate.