OSDN Git Service

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>
Thu, 8 Feb 2018 02:06:06 +0000 (18:06 -0800)
commit70b3a923daff38468c03ad2b5a4b6efd65e5afa3
tree73ef145f857c258e12513edbc90b8fad4478a5f6
parent8069a0e983d999641331e3a7c8cda42de0ae1166
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