]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite215f25da958b88d95e41e5b78a3dbd8d90bddfd
tree6558a73688e39def7c8049a5aa4eb5de8560afd5
parent83ca4aecdbf3313a7b3c96ca4f37cb7e8467699a
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