]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda66549683fe5f49682ac3d84091ca3a33af666e
tree9bd43988e2b973ac091648a3fdd422d399aaa896
parent6e3175ad754634794d8990ebba4a84a47590534c
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