diff options
author | 2016-08-24 11:33:46 +0800 | |
---|---|---|
committer | 2016-10-03 16:13:49 +0200 | |
commit | 1afe478569ba7414dde8a874dda9c1ea621c0c63 (patch) | |
tree | 1a4b24ecb88e64c8cb7d4870afd2a126655cdf6c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rbd: add rbd_obj_request_error() helper (diff) | |
download | wireguard-linux-1afe478569ba7414dde8a874dda9c1ea621c0c63.tar.xz wireguard-linux-1afe478569ba7414dde8a874dda9c1ea621c0c63.zip |
ceph: fix error handling of start_read()
If start_page() fails to add a page to page cache or fails to send
OSD request. It should cal put_page() (instead of free_page()) for
relevant pages.
Besides, start_page() need to cancel fscache readpage if it fails
to send OSD request.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reported-by: Zhi Zhang <zhang.david2011@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions