-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Don't fail `io.stat` parsing due to lines without kv pairs. Example: ``` $ cat /sys/fs/cgroup/io.stat 7:7 7:6 7:5 7:4 7:3 7:2 7:1 7:0 253:0 rbytes=40137493143552 wbytes=11685175186432 rios=172066882 wios=73548256 dbytes=17052408471552 dios=36700731 ``` Kernel logic: https://github.com/torvalds/linux/blob/075dbe9f6e3c21596c5245826a4ee1f1c1676eb8/block/blk-cgroup.c#L1171 Reviewed By: dschatzberg Differential Revision: D63488396 fbshipit-source-id: a5421e1105ef984c6f4a88cf79773d4f01af7bde
- Loading branch information
1 parent
636bb2a
commit bf3814c
Showing
2 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters