Re: [f2fs-dev] [PATCH] f2fs: show more discard stat by sysfs

2023-11-27 Thread Zhiguo Niu
Dear Chao, On Tue, Nov 28, 2023 at 10:13 AM Chao Yu wrote: > > On 2023/11/24 9:08, Zhiguo Niu wrote: > > The current pending_discard attr just only shows the discard_cmd_cnt > > information, which is not very meaningful. More discard information > > can be shown so that we can check them through

Re: [f2fs-dev] [PATCH] f2fs: show more discard stat by sysfs

2023-11-27 Thread Chao Yu
On 2023/11/24 9:08, Zhiguo Niu wrote: The current pending_discard attr just only shows the discard_cmd_cnt information, which is not very meaningful. More discard information can be shown so that we can check them through sysfs when needed. What about adding this entry to /sys/fs/f2fs//stat/?

[f2fs-dev] [PATCH] f2fs: show more discard stat by sysfs

2023-11-23 Thread Zhiguo Niu
The current pending_discard attr just only shows the discard_cmd_cnt information, which is not very meaningful. More discard information can be shown so that we can check them through sysfs when needed. Signed-off-by: Zhiguo Niu --- fs/f2fs/sysfs.c | 21 +++-- 1 file changed, 15