From: Patrick Donnelly Date: Fri, 18 Feb 2022 00:03:29 +0000 (-0500) Subject: mds: remove errant newline X-Git-Tag: v18.0.0~578^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=236fe4319f45c7ae3d478b5f51b107f6a57ebc7d;p=ceph.git mds: remove errant newline 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 --- diff --git a/src/mds/mdstypes.h b/src/mds/mdstypes.h index f6d9e524325f..fd53f39b71ba 100644 --- a/src/mds/mdstypes.h +++ b/src/mds/mdstypes.h @@ -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 {