]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix negative rstat assertion
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 20 Jan 2014 02:05:39 +0000 (10:05 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 17 Feb 2014 01:37:51 +0000 (09:37 +0800)
commit74ef370b02c9a94926e377ecac8365721a88001d
tree4b6ad4c9e54cccc1573d5e357471c07c46b7355c
parent22535340b402bd4a466f85d11d937f7b2513d6c5
mds: fix negative rstat assertion

when gathering rstat for directory inode that is fragmented to
several dirfrags, inode's rstat may temporarily become nagtive.
This is because, when splitting dirfrag, delta rstat is always
added to the first new dirfrag.

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