]> www.infradead.org Git - users/willy/xarray.git/commit
f2fs: show more discard status by sysfs
authorZhiguo Niu <zhiguo.niu@unisoc.com>
Wed, 20 Dec 2023 01:59:58 +0000 (09:59 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Dec 2023 21:07:26 +0000 (13:07 -0800)
commitc3c2d45b9050180974e35ec8672c6e788adc236a
tree0b7964512bbfb64b8aac44b20062853544672d99
parent19ec1d31fa56255ebf866a9e7540d3b4d6069db6
f2fs: show more discard status by sysfs

The current pending_discard attr just only shows the discard_cmd_cnt
information. More discard status can be shown so that we can check
them through sysfs when needed.

Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/sysfs.c