]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: increase debug level for dropped client cap msg 23063/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 16 Jul 2018 00:48:53 +0000 (17:48 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 16 Jul 2018 00:48:53 +0000 (17:48 -0700)
Fixes: https://tracker.ceph.com/issues/24855
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/Locker.cc

index 905df5378347bbeaec42fe5e350f017c212db9bf..1753737344823260365745a23d24aa6795708808 100644 (file)
@@ -2737,7 +2737,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;
   }