]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: do not duplicate journaler write heads 58936/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 28 Aug 2024 03:07:48 +0000 (23:07 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 25 Sep 2024 19:42:26 +0000 (15:42 -0400)
commit36315d481401016daf37f6d52bf7af0aab9d7670
treeeb976586e1d5cd42bcd0fd6550dda972a648696d
parentb3025914374ddde29d3bb0e70214ac86288e5075
mds: do not duplicate journaler write heads

The MDS can unnecessarily write out the journaler head multiple times. Check
the last_written Header to see if it's necessary to write and gather waiters.

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