]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix race of trimming log segments 3052/head
authorYan, Zheng <zyan@redhat.com>
Tue, 2 Dec 2014 05:59:11 +0000 (13:59 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 2 Dec 2014 08:20:21 +0000 (16:20 +0800)
commit2fa4884fd8c0bc70e4dd17a957693a636024c608
tree1ed2408fd8eca986eb17fd5823595fc45081808f
parent772a0d538ae26c58d2ed52f62cc3417aabcb0fc0
mds: fix race of trimming log segments

trimming old log segments can start new log segments, make sure
MDLog::trim_all() not expire newly started log segments.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDLog.cc