Merge "Dumpstate: add f2fs info and remove too specific fragmentation info" into rvc-dev

Change-Id: I5489d4dd25cc29ff01080de2daab39353944c4be
Change-Id: I9da7bad20f0ae7d34a17aa107ba08a34f514d6a9
Change-Id: I678871172bcda20777e756475833dd75dedf705a
Change-Id: Ic0c9ae80c05b6cc16fa5d0cfef4bbe00e47de130
This commit is contained in:
Ocean Chen 2020-03-16 08:29:31 +00:00 committed by Cyan_Hsieh
commit e3dfbf570f
1 changed files with 2 additions and 0 deletions

View File

@ -365,6 +365,8 @@ static void DumpF2FS(int fd) {
"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"});
}
static void DumpUFS(int fd) {