Ceph : Issueshttps://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2021-12-21T07:26:52ZCeph
Redmine Ceph - Cleanup #53682 (Pending Backport): common: use fmt::print for stderr logginghttps://tracker.ceph.com/issues/536822021-12-21T07:26:52Z玮文 胡
<p>Reduce the number of syscalls to improve performance.</p>
<p>Also reduce the probability of <a class="external" href="https://tracker.ceph.com/issues/49551">https://tracker.ceph.com/issues/49551</a>, since conmon is less likely to read partial log line.</p>
<p>Test shows that fmt::print is as performant as calling `writev` directly. And it is portable and safe in handling short write.</p>