ceph: handle interrupted ceph_writepage()
authorYan, Zheng <zyan@redhat.com>
Fri, 13 May 2016 09:29:51 +0000 (17:29 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:41 +0000 (01:15 +0200)
commitad15ec06e51b6eb73981428109e32c75cbad7d3d
tree9bd43988e2b973ac091648a3fdd422d399aaa896
parenta78bbd4b29c29784f0addb5e3b35790c7ed178ae
ceph: handle interrupted ceph_writepage()

writepage() can be interrupted when it's called by direct memory
reclaimer (the direct memory relaimer is killed). To avoid lossing
data, we redirty the page.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/addr.c