]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: properly propagate dirty dirstat to auth inode 1548/head
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 28 Mar 2014 04:57:29 +0000 (12:57 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 28 Mar 2014 05:24:36 +0000 (13:24 +0800)
commit1b5e8f43061733ae3b17f945c8155e4c76a5b9ea
treefef82f93a7bf3446837bc1234b282b4e3f5a93b5
parent7f4be9e9d040af443ca4cbe2f3fd2a44d01f71bf
mds: properly propagate dirty dirstat to auth inode

Propagate dirty dirstat to freezing auth inode if the inode is
already auth pinned by the Mutation. Otherwiese the dirstat can
be propagated to inode after client changes inode's mtime.

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