f2fs: show # of dirty segments via sysfs
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 24 Oct 2017 07:46:54 +0000 (09:46 +0200)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 6 Nov 2017 00:41:47 +0000 (16:41 -0800)
commit8f1572f7ce6169a4687cec1a89ce9c85cbf14eee
treeeddbde6944a2019fd5adddd705cfa543091968b1
parent1f227a3e215d3613ea6cbc2fbe29caafbcaa8f71
f2fs: show # of dirty segments via sysfs

This patch adds one sysfs entry to show # of dirty segments which can be
used for gc timing by user.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/sysfs.c