]> 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>
Tue, 30 Aug 2022 02:43:01 +0000 (10:43 +0800)
commitce189521db32407616eab7fb3d562c9a30af58ef
tree495d0a7d1e2542654b3889803ca556923bee1f76
parent43f411ee296bdef4a9cc3c27a9f46aae4aa818f1
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