diff options
author | Yan, Zheng <zyan@redhat.com> | 2017-09-03 00:04:31 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-09-06 19:56:57 +0200 |
commit | 590e9d9861f5f21fbbb0266e40e6a17bc5084dd0 (patch) | |
tree | 57665da237483343bc23163aedfc23123e3820e0 /tools | |
parent | 0e5ecac7168366500af1fa9a70fa9ce573f891f3 (diff) | |
download | linux-590e9d9861f5f21fbbb0266e40e6a17bc5084dd0.tar.gz linux-590e9d9861f5f21fbbb0266e40e6a17bc5084dd0.tar.bz2 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')
0 files changed, 0 insertions, 0 deletions