]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: clear objects' dirty flags after log segment is expired 2375/head
authorYan, Zheng <ukernel@gmail.com>
Tue, 2 Sep 2014 09:10:41 +0000 (17:10 +0800)
committerYan, Zheng <ukernel@gmail.com>
Fri, 5 Sep 2014 00:33:21 +0000 (08:33 +0800)
commiteae88dad4c32e4bb5fb255ec4bf1be18b09d498e
treef64ba950be52cc69664688267e50e7a70bd92f22
parent3215c520e1306f50d0094b5646636c02456c9df4
mds: clear objects' dirty flags after log segment is expired

When standby-replay MDS detects a log segment is expired, it should check
the expired segment's dirty lists and clear corresponding objects' dirty
bits. Otherwise these objects will be pinned in the standby-replay MDS's
cache forever.

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