diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-05-04 11:40:30 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-05-26 01:15:38 +0200 |
commit | 1b1bc16d66a7c7af3b4f30d1cf5a363168b217f4 (patch) | |
tree | 95634e0cb65929da7dedbc1cec5d10593e12da93 /fs/ceph/super.h | |
parent | a4b7431f39438f415cef1fa28502ec58016686f7 (diff) |
ceph: improve fragtree change detection
check if number of splits in i_fragtree is equal to number of splits
in mds reply
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r-- | fs/ceph/super.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index c9b671dfff81..a268f18d2119 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -297,6 +297,7 @@ struct ceph_inode_info { u64 i_files, i_subdirs; struct rb_root i_fragtree; + int i_fragtree_nsplits; struct mutex i_fragtree_mutex; struct ceph_inode_xattrs_info i_xattrs; |