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>
Tue, 19 Dec 2017 03:28:22 +0000 (19:28 -0800)
commitf241f66c3aee27f261431a78a7df21cbe90cf78c
tree1c74b93a448d000357e786991fee5cdaf30c4891
parent1687d9f07bc3e52b81acffb8efef4bb709040992
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