commit | af9cc401ce7452f9d965ba4553d8ffe7f0ed42ee | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Sun Mar 04 16:36:01 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Apr 02 10:12:47 2018 +0200 |
tree | b6597549d5f0981b091f66b5afa9e3fc0daf58c5 | |
parent | bc4b5ad3a6a1cfe11494380affc4bfc4521af499 [diff] |
ceph: invalidate pages that beyond EOF in ceph_writepages_start() Dirty pages can be associated with different capsnap. Different capsnap may have different EOF value. So invalidating dirty pages according to the largest EOF value is wrong. Dirty pages beyond EOF, but associated with other capsnap, do not get invalidated. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>