commit | fa71fefb308532eb5b2e4b38d914d19fc836f73e | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Tue May 23 17:18:53 2017 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Fri Jul 07 17:25:13 2017 +0200 |
tree | 8345537a3273ce56adb274bb87c45ac3d071099d | |
parent | f2b0c45f09796f87723a1225c919035457f72b7a [diff] |
ceph: redirty page when writepage_nounlock() skips unwritable page Ceph needs to flush dirty page in the order in which in which snap context they belong to. Dirty pages belong to older snap context should be flushed earlier. if writepage_nounlock() can not flush a page, it should redirty the page. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>