[PATCH 1/2] Revert "f2fs: use percpu_counter for # of dirty pages in inode"

2016-12-05 Thread Jaegeuk Kim
This reverts commit 1beba1b3a953107c3ff5448ab4e4297db4619c76. The perpcu_counter doesn't provide atomicity in single core and consume more DRAM. That incurs fs_mark test failure due to ENOMEM. Cc: sta...@vger.kernel.org Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 10

[PATCH 1/2] Revert "f2fs: use percpu_counter for # of dirty pages in inode"

2016-12-05 Thread Jaegeuk Kim
This reverts commit 1beba1b3a953107c3ff5448ab4e4297db4619c76. The perpcu_counter doesn't provide atomicity in single core and consume more DRAM. That incurs fs_mark test failure due to ENOMEM. Cc: sta...@vger.kernel.org Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 10 +-