chiark / gitweb /
core: update CGroupBlockIODeviceBandwidth to record both rbps and wbps
[elogind.git] / src / core / cgroup.h
index 2a5a223eb677212fadf3fa1b5c553b5d686519a4..4d9b52e1d1cbd1e296b3390ff693b7005620234c 100644 (file)
@@ -64,8 +64,8 @@ struct CGroupBlockIODeviceWeight {
 struct CGroupBlockIODeviceBandwidth {
         LIST_FIELDS(CGroupBlockIODeviceBandwidth, device_bandwidths);
         char *path;
-        uint64_t bandwidth;
-        bool read;
+        uint64_t rbps;
+        uint64_t wbps;
 };
 
 struct CGroupContext {