Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 087277bf authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

Dumpstate: f2fs: remove verbose segment_info



Let's remove segment_info which seems not useful.

Bug: 184964835
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@google.com>
Change-Id: Ib9826f536681d9f36f9d55dab3801a05c47f27a4
parent 52df75cc
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -654,10 +654,6 @@ static void DumpSensorLog(int fd) {

static void DumpF2FS(int fd) {
    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 - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.mount.data"});
}