]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/MDLog: use committed seq instead of committing seq
authorXiubo Li <xiubli@redhat.com>
Thu, 24 Feb 2022 07:56:54 +0000 (15:56 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 30 Aug 2022 02:43:01 +0000 (10:43 +0800)
commit43f411ee296bdef4a9cc3c27a9f46aae4aa818f1
treed176537d74b138059396e9cc82d264395e534335
parentddb6c66d64d375412e1721c919a8328c6efae9e2
mds/MDLog: use committed seq instead of committing seq

Since commit 9242ce90130 it won't allow multiple open file table
commits to be submit and will be worked sequentially. So whenever
is_any_committing() is false the committing seq will always equal
to committed seq.

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