aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-04-11 18:02:34 +0200
committerJuan Quintela <quintela@redhat.com>2023-04-24 11:28:58 +0200
commit536b5a4e56ec67c958f46e7d46cbd5ac34e5a239 (patch)
tree30e852bb37674503a265e83f55919107bb23e937 /migration/ram.h
parent296a4ac2aa63038b6b702f2ee8f0f93ae26727ae (diff)
migration: Make dirty_sync_count atomic
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/ram.h')
-rw-r--r--migration/ram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h
index bb52632424..8c0d07c43a 100644
--- a/migration/ram.h
+++ b/migration/ram.h
@@ -42,7 +42,7 @@
*/
typedef struct {
int64_t dirty_pages_rate;
- int64_t dirty_sync_count;
+ Stat64 dirty_sync_count;
Stat64 dirty_sync_missed_zero_copy;
Stat64 downtime_bytes;
Stat64 duplicate;