f2fs: drop page cache after fs shutdown
authorChao Yu <yuchao0@huawei.com>
Thu, 18 Jan 2018 09:29:10 +0000 (17:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:30:34 +0000 (13:30 -0800)
commit78d7fa9ac21fb883575a2ae5e0524bfa7bd9d1c7
treec6043518ebbffe1cfb5f27300b2ae8dd9e44e952
parent150b61cee574a6429b1942266251aacdf932777b
f2fs: drop page cache after fs shutdown

Don't remain dirtied page cache in f2fs after shutdown, it can mitigate
memory pressure of whole system, in order to keep other modules working
properly.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/node.c