]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't clear scatter dirty when cache rejoin ack is received
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 24 Mar 2014 08:47:04 +0000 (16:47 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 28 Mar 2014 18:08:14 +0000 (02:08 +0800)
commit71fa779e08ec08768a558e812aeecd02aa26b4eb
tree0dc376311d995ac042079fc035d04d7212142e0b
parentfbf4fbc37a609f44fe4ca628d8151d6d38314afb
mds: don't clear scatter dirty when cache rejoin ack is received

The auth mds has received dirty scatterlock state. But it hasn't
journaled the dirty state yet. The log segment that marked the
scatterlock dirty need to be preserved. Therefore, we can't clear
the dirty flag of scatterlock.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/MDCache.cc