]> 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, 14 Jun 2022 09:44:29 +0000 (17:44 +0800)
commit7c39dc8fb8985a68013e93cea274d4535bde93e3
tree6c62a758bae6c237a3e970ee88ca070e4620b5c3
parentfb2477b29721a87a5f5f3c0b8a687ccbccf2b9c8
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>
src/mds/MDLog.cc
src/mds/MDLog.h