]> git.karo-electronics.de Git - linux-beck.git/commit
ceph: renew mon subscription before it expires
authorSage Weil <sage@newdream.net>
Thu, 8 Oct 2009 17:25:46 +0000 (10:25 -0700)
committerSage Weil <sage@newdream.net>
Thu, 8 Oct 2009 17:39:08 +0000 (10:39 -0700)
commit0656d11ba6ffa3dee0e8916a1903f96185651217
tree6ade91a503cdcddfd5ce3b047deb9303b0511594
parente251e288082d5e89604eee1fef0c31bed1fe8f02
ceph: renew mon subscription before it expires

Be conservative: renew subscription once half the interval has expired.

Do not reuse sub expiration to control hunting.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mon_client.c