Searched hist:a4b7431f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ceph/ |
H A D | inode.c | a4b7431f Tue May 03 22:05:10 CDT 2016 Yan, Zheng <zyan@redhat.com> ceph: keep leaf frag when updating fragtree
Nodes in i_fragtree are sorted according to ceph_compare_frag(). It means frag node in i_fragtree always follow its direct parent node. To check if a leaf node is valid, we just need to check if it's child of previous split node.
Signed-off-by: Yan, Zheng <zyan@redhat.com> a4b7431f Tue May 03 22:05:10 CDT 2016 Yan, Zheng <zyan@redhat.com> ceph: keep leaf frag when updating fragtree Nodes in i_fragtree are sorted according to ceph_compare_frag(). It means frag node in i_fragtree always follow its direct parent node. To check if a leaf node is valid, we just need to check if it's child of previous split node. Signed-off-by: Yan, Zheng <zyan@redhat.com>
|