aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-05-03 23:05:10 -0400
committerIlya Dryomov <idryomov@gmail.com>2016-05-25 19:15:37 -0400
commita4b7431f39438f415cef1fa28502ec58016686f7 (patch)
tree432bd5da4924ea61b1fa0bcd862361e2f6343c29 /tools/perf/scripts/python/export-to-sqlite.py
parent421721195a68f46a8218c664154076b5b06f5f51 (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions