diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-08-24 06:33:46 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-10-03 17:13:49 +0300 |
commit | 1afe478569ba7414dde8a874dda9c1ea621c0c63 (patch) | |
tree | 1a4b24ecb88e64c8cb7d4870afd2a126655cdf6c /tools/perf/scripts/python | |
parent | 0dcc685e7dd7190dcaa5435e9c14150f1d405b7b (diff) | |
download | linux-1afe478569ba7414dde8a874dda9c1ea621c0c63.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions