]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: increase debug level for dropped client cap msg 23214/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 16 Jul 2018 00:48:53 +0000 (17:48 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 24 Jul 2018 19:11:40 +0000 (12:11 -0700)
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 f9858b573f5f660f306c58127b2ad5c1c02c6dba..c58f480e4aa6eedc24e93eb07838a037851390fe 100644 (file)
@@ -2698,7 +2698,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;
   }