]> 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>
Wed, 3 Aug 2022 08:07:55 +0000 (16:07 +0800)
commit76b93260bcf63b8c170de20593ba64646feff5ca
tree66835893ee2a3c1d309133e10a64de8509fac0a0
parent00a7fac10eaf26ba4ce0360e2f21768eb21b4a2b
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