Revert "f2fs: use percpu_counter for # of dirty pages in inode"

commit 204706c7ac upstream.

This reverts commit 1beba1b3a9.

The perpcu_counter doesn't provide atomicity in single core and consume more
DRAM. That incurs fs_mark test failure due to ENOMEM.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jaegeuk Kim 2016-12-02 15:11:32 -08:00 • committed by Greg Kroah-Hartman
commit a43e1c459a
3 changed files with 7 additions and 12 deletions