diff options
author | 2017-09-03 00:04:31 +0800 | |
---|---|---|
committer | 2017-09-06 19:56:57 +0200 | |
commit | 590e9d9861f5f21fbbb0266e40e6a17bc5084dd0 (patch) | |
tree | 57665da237483343bc23163aedfc23123e3820e0 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | ceph: cleanup local variables in ceph_writepages_start() (diff) | |
download | wireguard-linux-590e9d9861f5f21fbbb0266e40e6a17bc5084dd0.tar.xz wireguard-linux-590e9d9861f5f21fbbb0266e40e6a17bc5084dd0.zip |
ceph: fix "range cyclic" mode writepages
In range cyclic mode, writepages() should first write dirty pages
in range [writeback_index, (pgoff_t)-1], then write pages in range
[0, writeback_index -1]. Besides, if writepages() encounters a page
that beyond EOF, it should restart from the beginning.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions