]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove errant newline
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 18 Feb 2022 00:03:29 +0000 (19:03 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Sat, 11 Jun 2022 13:50:20 +0000 (09:50 -0400)
Which was poluting debug logs, like:

2022-02-17T23:58:37.207+0000 7fcfc3b5c700 20 mds.0.bal hit_dir 2 pop is 1, frag * size 1 [pop IRD:[C 0.00e+00] IWR:[C 0.00e+00] RDR:[C 1.00e+00] FET:[C 0.00e+00] STR:[C 0.00e+00] *LOAD:1.0]

2022-02-17T23:58:37.207+0000 7fcfc3b5c700 20 mds.0.bal hit_dir 2 pop 10 spread in [dir 0x100000001f7 /client.0/tmp/t/ [2,head] auth{1=1,2=1,3=1,4=1} pv=400 v=394 cv=0/0 ap=3+4 state=1610874881|complete f(v0 m2022-02-17T23:55:54.483154+0000 1=0+1)->f(v0 m2022-02-17T23:55:54.483154+0000 1=0+1) n(v17 rc2022-02-17T23:58:36.875160+0000 b690375453 67118=63091+4027)/n(v17 rc2022-02-17T23:58:36.419166+0000 b690228447 67073=63053+4020)->n(v17 rc2022-02-17T23:58:37.202156+0000 b690375453 67118=63091+4027)/n(v17 rc2022-02-17T23:58:36.419166+0000 b690228447 67073=63053+4020) hs=1+0,ss=0+0 dirty=1 | child=1 replicated=1 dirty=1 authpin=1 0x564e7d5ca880]

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/mdstypes.h

index f6d9e524325f73537b83dea17aaf900d4c4a3f73..fd53f39b71ba3e9347f0521f8a157bae7e50b25f 100644 (file)
@@ -1828,7 +1828,7 @@ inline std::ostream& operator<<(std::ostream& out, const dirfrag_load_vec_t& dl)
      << " FET:" << dl.vec[3]
      << " STR:" << dl.vec[4]
      << " *LOAD:" << dl.meta_load() << "]";
-  return out << css->strv() << std::endl;
+  return out << css->strv();
 }
 
 struct mds_load_t {