diff options
| author | ponasenko-rs <[email protected]> | 2024-11-25 12:00:01 +0300 |
|---|---|---|
| committer | ponasenko-rs <[email protected]> | 2024-11-25 12:17:29 +0300 |
| commit | 8290c796b7ba3fbbf8c94df8d744163a97e3060d (patch) | |
| tree | 835e92281d9248d3739cbbf25c4856e6b5dbd65a | |
| parent | d790e89c4f99ddcc80ac630927e3c153ef6bad90 (diff) | |
Stop confusing read and write kernel statistics
commit_hash:21a62a72107f4876464d12d3d9d2d5717bcfec6d
| -rw-r--r-- | yt/yt/core/misc/proc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/core/misc/proc.cpp b/yt/yt/core/misc/proc.cpp index 2ddc271c148..363549b4bf9 100644 --- a/yt/yt/core/misc/proc.cpp +++ b/yt/yt/core/misc/proc.cpp @@ -1626,7 +1626,7 @@ TTaskDiskStatistics GetSelfThreadTaskDiskStatistics() if (fields[0] == "read_bytes:") { TryFromString(fields[1], stat.ReadBytes); } else if (fields[0] == "write_bytes:") { - TryFromString(fields[1], stat.ReadBytes); + TryFromString(fields[1], stat.WriteBytes); } } } catch (const TSystemError& ex) { |
