Dumpstate: f2fs: remove verbose segment_info
Let's remove segment_info which seems not useful. Bug: 184964835 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: Ib9826f536681d9f36f9d55dab3801a05c47f27a4
This commit is contained in:
parent
4e22787a38
commit
a245dd7d5c
1 changed files with 0 additions and 4 deletions
|
@ -678,10 +678,6 @@ void DumpstateDevice::dumpMemorySection(int fd) {
|
||||||
|
|
||||||
static void DumpF2FS(int fd) {
|
static void DumpF2FS(int fd) {
|
||||||
DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status");
|
DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status");
|
||||||
RunCommandToFd(fd, "F2FS - fragmentation", {"/vendor/bin/sh", "-c",
|
|
||||||
"for d in $(ls /proc/fs/f2fs/); do "
|
|
||||||
"echo $d: /dev/block/mapper/`ls -l /dev/block/mapper | grep $d | awk '{print $8,$9,$10}'`; "
|
|
||||||
"cat /proc/fs/f2fs/$d/segment_info; done"});
|
|
||||||
RunCommandToFd(fd, "F2FS - fsck time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.fsck.data"});
|
RunCommandToFd(fd, "F2FS - fsck time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.fsck.data"});
|
||||||
RunCommandToFd(fd, "F2FS - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.mount.data"});
|
RunCommandToFd(fd, "F2FS - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.mount.data"});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue