f2fs: export dirty_nats_ratio in sysfs
authorChao Yu <chao2.yu@samsung.com>
Mon, 18 Jan 2016 10:32:58 +0000 (18:32 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit2304cb0c4438829c88bed69f57374b80ae31f0ba
tree6558a73688e39def7c8049a5aa4eb5de8560afd5
parent7d768d2c264eec44941a13cb92200565e8c754d0
f2fs: export dirty_nats_ratio in sysfs

This patch exports a new sysfs entry 'dirty_nat_ratio' to control threshold
of dirty nat entries, if current ratio exceeds configured threshold,
checkpoint will be triggered in f2fs_balance_fs_bg for flushing dirty nats.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/super.c