]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/MDLog: try to commit the open file table when there has diry items
authorXiubo Li <xiubli@redhat.com>
Thu, 24 Feb 2022 09:25:25 +0000 (17:25 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 3 Aug 2022 08:08:20 +0000 (16:08 +0800)
commite7e04ce69e5774675ffd6b7343c3c26d4a68f0ea
tree8a1ca28eda2fb74ae27ede5c30c665433f7d3cdb
parent76b93260bcf63b8c170de20593ba64646feff5ca
mds/MDLog: try to commit the open file table when there has diry items

When there have dirty items, maybe there has no any new log event,
for exmaple when opening the files it can skip the OPEN logs.

Or maybe the journal segments could be expired but the open file
table dirty items still in the cache.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 7c39dc8fb8985a68013e93cea274d4535bde93e3)
src/mds/MDLog.cc
src/mds/MDLog.h