]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: do not write journal head twice on trim
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 14 Aug 2024 19:24:51 +0000 (15:24 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 25 Sep 2024 19:42:25 +0000 (15:42 -0400)
commit92e50c4f5334d361235ba2048bdcbfa3d6ec5d2a
treeecffbc8cd3f3a467ade1c1c54ca966796f655da0
parent6828bd0502949fe8f9b8f81b39b7c85d5d8901af
mds: do not write journal head twice on trim

Add context to wait for MDLog::trim_expired_segments to write the journal head.

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