f2fs: support soft block reservation
authorYunlong Song <yunlong.song@huawei.com>
Fri, 27 Oct 2017 12:45:05 +0000 (20:45 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:28:26 +0000 (19:28 -0800)
commit6cef55704e9e477dca890ff15dd3cc796aa4ca5f
treec4b7db6e7b3b2efb05dc5724dc18fa23f083e16c
parentcef5e7165c08a7bb9c29ee2d9c29fd95c821cace
f2fs: support soft block reservation

It supports to extend reserved_blocks sysfs interface to be soft
threshold, which allows user configure it exceeding current available
user space. This patch also introduces a new sysfs interface called
current_reserved_blocks, which shows the current blocks that have
already been reserved.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/f2fs.h
fs/f2fs/super.c
fs/f2fs/sysfs.c