]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: increase debug level for dropped client cap msg 23309/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 16 Jul 2018 00:48:53 +0000 (17:48 -0700)
committerPrashant D <pdhange@redhat.com>
Mon, 30 Jul 2018 02:08:47 +0000 (22:08 -0400)
Fixes: https://tracker.ceph.com/issues/24855
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 1d98fed3d76c13e88dbde4a3959e97089f57cc2f)

src/mds/Locker.cc

index 09b17694c3b02213737d9343f70276e2c69e411b..4e613f7c5f345f903d71a6c557313a55b01af8e8 100644 (file)
@@ -2742,7 +2742,16 @@ void Locker::handle_client_caps(MClientCaps *m)
       mdcache->wait_replay_cap_reconnect(m->get_ino(), new C_MDS_RetryMessage(mds, m));
       return;
     }
-    dout(1) << "handle_client_caps on unknown ino " << m->get_ino() << ", dropping" << dendl;
+
+    /*
+     * "handle_client_caps on unknown ino xxx” is normal after migrating a subtree
+     * Sequence of events that cause this are:
+     *   - client sends caps message to mds.a
+     *   - mds finishes subtree migration, send cap export to client
+     *   - mds trim its cache
+     *   - mds receives cap messages from client
+     */
+    dout(7) << "handle_client_caps on unknown ino " << m->get_ino() << ", dropping" << dendl;
     m->put();
     return;
   }