diff options
author | 2024-10-16 16:24:20 +0800 | |
---|---|---|
committer | 2024-11-01 01:19:00 +0000 | |
commit | 2d56b4e39192fb9693284ce8aa3416b517d785b7 (patch) | |
tree | b475ef3703bfecb1f0a2568b2aca586180d90041 /scripts/lib/kdoc/kdoc_files.py | |
parent | f2fs: fix to do sanity check on node blkaddr in truncate_node() (diff) | |
download | wireguard-linux-2d56b4e39192fb9693284ce8aa3416b517d785b7.tar.xz wireguard-linux-2d56b4e39192fb9693284ce8aa3416b517d785b7.zip |
f2fs: multidevice: add stats in debugfs
This patch adds per-device stats in debugfs, the examples
are as below:
mkfs.f2fs -f -c /dev/vdc /dev/vdb
mount /dev/vdb /mnt/f2fs/
cat /sys/kernel/debug/f2fs/status
Multidevice stats:
[seg: inuse dirty full free prefree]
#0 5 0 0 4007 0
#1 1 0 0 8191 0
mkfs.f2fs -f -s 2 -c /dev/vdc /dev/vdb
mount /dev/vdb /mnt/f2fs
cat /sys/kernel/debug/f2fs/status
Multidevice stats:
[seg: inuse dirty full free prefree] [sec: inuse dirty full free prefree]
#0 5 0 0 4005 0 5 0 0 2000 0
#1 1 0 0 8191 0 1 0 0 4095 0
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions