]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: disable fscache when inode is opened for write
authorYan, Zheng <zyan@redhat.com>
Wed, 18 May 2016 07:25:03 +0000 (15:25 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 1 Jun 2016 08:31:07 +0000 (10:31 +0200)
commit51e0ba01316a75977bd416d3972922ecc8710464
tree0d9ae8027c93619327abd0eb541be02163b53ac7
parent177bf7157c2019c407a79ee85352acb489d82783
ceph: disable fscache when inode is opened for write

All other filesystems do not add dirty pages to fscache. They all
disable fscache when inode is opened for write. Only ceph adds
dirty pages to fscache, but the code is buggy.

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