From 3569e809a477bcc883dfb89e4186370430d27328 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 20 May 2014 14:51:35 -0700 Subject: [PATCH] mds: set mds_stamp on lock acquisition Normally acquire_locks() will set this for us. Signed-off-by: Sage Weil --- src/mds/Locker.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mds/Locker.cc b/src/mds/Locker.cc index 38ccff06f0ac1..2d41bfd34ae7d 100644 --- a/src/mds/Locker.cc +++ b/src/mds/Locker.cc @@ -538,6 +538,7 @@ bool Locker::acquire_locks(MDRequestRef& mdr, } mdr->done_locking = true; + mdr->set_mds_stamp(ceph_clock_now(NULL)); result = true; marker.message = "acquired locks"; -- 2.39.5