summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-09-13 21:18:01 +0300
committerIlya Dryomov <idryomov@gmail.com>2016-10-03 17:13:47 +0300
commitc2e82414884718ad6ec33a7528606cb07cf55cb4 (patch)
tree6433dcfbff2879085b729f9fc93826cf3cc4fac3 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent058aa9919147da9f088a96982a19ea0864139dc8 (diff)
downloadlinux-c2e82414884718ad6ec33a7528606cb07cf55cb4.tar.xz
rbd: mark the original request as done if stat request fails
If stat request fails with something other than -ENOENT (which just means that we need to copyup), the original object request is never marked as done and therefore never completed. Fix this by moving the mark done + complete snippet from rbd_img_obj_parent_read_full() into rbd_img_obj_exists_callback(). The former remains covered, as the latter is its only caller (through rbd_img_obj_request_submit()). Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: David Disseldorp <ddiss@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions