ceph: invalidate dirty pages after forced umount
authorYan, Zheng <zyan@redhat.com>
Wed, 1 Jul 2015 09:03:23 +0000 (17:03 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 8 Sep 2015 20:14:28 +0000 (23:14 +0300)
commita341d4df87487ae68189e0be869c39a2b0cb9aaa
tree8001abb1feb458a9e4ecf873e4cf592d9199914b
parent48fec5d0a504dfbb302cb1dd24ebb0b82a46cce9
ceph: invalidate dirty pages after forced umount

After forced umount, ceph_writepages_start() skips flushing dirty
pages. To make sure inode's reference count get dropped to zero,
we need to invalidate dirty pages.

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