summaryrefslogtreecommitdiff
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-05-18 15:58:26 +0300
committerIlya Dryomov <idryomov@gmail.com>2016-05-26 02:15:42 +0300
commit9abd4db713704aac146395e079224ddd716e9b95 (patch)
treebf7ddd4b76b0b20b45e905c6854d1b74551c06f6 /mm/mlock.c
parentb109eec6f4332bd517e2f41e207037c4b9065094 (diff)
downloadlinux-9abd4db713704aac146395e079224ddd716e9b95.tar.xz
ceph: don't use truncate_pagecache() to invalidate read cache
truncate_pagecache() drops dirty pages, it's dangerous to use it to invalidate read cache. Besides, we shouldn't start invalidating read cache while there are buffer writers. Because buffer writers may add dirty pages later. Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions