commit | 0713e5f24b7deb88579dc312cf818b1a0809f02e | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Aug 31 16:55:48 2017 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Sep 06 19:56:56 2017 +0200 |
tree | 3f6ac060be135724eba021fdd5de551fe1306f2e | |
parent | 05455e1177f76849e0a6450e8710dcb2c361f337 [diff] |
ceph: optimize pagevec iterating in ceph_writepages_start() ceph_writepages_start() supports writing non-continuous pages. If it encounters a non-dirty or non-writeable page in pagevec, it can continue to check the rest pages in pagevec. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>