]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39c4de633de85b502f90ea839a44c2dc9b070bf3
tree52d7ab8b4f589a1cf9b5e3662e952a1ec33903d5
parente27a7e2c8e9145d252ad9f45935aa348dc38e62e
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