diff options
author | 2016-09-13 20:18:01 +0200 | |
---|---|---|
committer | 2016-10-03 16:13:47 +0200 | |
commit | c2e82414884718ad6ec33a7528606cb07cf55cb4 (patch) | |
tree | 6433dcfbff2879085b729f9fc93826cf3cc4fac3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rbd: clean up asserts in rbd_img_obj_request_submit() helpers (diff) | |
download | wireguard-linux-c2e82414884718ad6ec33a7528606cb07cf55cb4.tar.xz wireguard-linux-c2e82414884718ad6ec33a7528606cb07cf55cb4.zip |
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