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>
Mon, 22 Jan 2018 22:56:56 +0000 (14:56 -0800)
commitdb198ae0f823e13e3698b24049e741978a0f14e3
tree875c3cc5b84372eea3e7b7bdb22b8c7f60f4ac8f
parent7950e9ac638e84518fbdd5c930939ad46a1068c5
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