ceph: prevent dup stale messages to console for restarting mds
authorSage Weil <sage@newdream.net>
Thu, 18 Mar 2010 20:43:09 +0000 (13:43 -0700)
committerSage Weil <sage@newdream.net>
Tue, 23 Mar 2010 14:46:58 +0000 (07:46 -0700)
commite4cb4cb8a03adde1aa4b874623c50b9a5b56e635
tree52d7ab8b4f589a1cf9b5e3662e952a1ec33903d5
parentefd7576b2392cc5a0934352936d793e8884c46bf
ceph: prevent dup stale messages to console for restarting mds

Prevent duplicate 'mds0 caps stale' message from spamming the console every
few seconds while the MDS restarts.  Set s_renew_requested earlier, so that
we only print the message once, even if we don't send an actual request.

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