diff options
| author | Yan, Zheng <[email protected]> | 2017-09-03 00:04:31 +0800 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2017-09-06 19:56:57 +0200 |
| commit | 590e9d9861f5f21fbbb0266e40e6a17bc5084dd0 (patch) | |
| tree | 57665da237483343bc23163aedfc23123e3820e0 /lib/mpi/mpi-mul.c | |
| parent | 0e5ecac7168366500af1fa9a70fa9ce573f891f3 (diff) | |
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" <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions