aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2019-04-17 14:23:17 -0400
committerIlya Dryomov <[email protected]>2019-05-07 19:22:37 +0200
commitc1dfc277239c73f68a6af6979acec1989a5e6864 (patch)
treefafa67ffb86d1023246ad304261d622c1a46bf4f /tools/perf/scripts/python/export-to-sqlite.py
parentf77f21bb28367d0ac4861a24da1db118bba850e6 (diff)
ceph: use pathlen values returned by set_request_path_attr
We make copies of the dentry name in set_request_path_attr, but then create_request_message re-fetches the lengths out of the dentry. While we don't currently set the *_drop fields unless the parents are locked, it's still better not to rely on that sort of implicit assumption. Use the pathlen values that set_request_path_attr returned instead, as they will always be correct for the returned paths themselves. Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions