diff options
author | Juan Quintela <quintela@redhat.com> | 2023-04-11 17:33:56 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-24 11:28:57 +0200 |
commit | 4291823694fd8507831d26e2558d9cd0030841f7 (patch) | |
tree | d6f76ddf450813c0445883451401c4febb7c47f6 /migration/ram.h | |
parent | cf671116facf4e29d91fce9c9ffb535385ffac81 (diff) |
migration: Make dirty_sync_missed_zero_copy 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.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/migration/ram.h b/migration/ram.h index ed70391317..2170c55e67 100644 --- a/migration/ram.h +++ b/migration/ram.h @@ -43,7 +43,7 @@ typedef struct { int64_t dirty_pages_rate; int64_t dirty_sync_count; - uint64_t dirty_sync_missed_zero_copy; + Stat64 dirty_sync_missed_zero_copy; uint64_t downtime_bytes; Stat64 duplicate; Stat64 multifd_bytes; @@ -114,6 +114,4 @@ void ram_write_tracking_prepare(void); int ram_write_tracking_start(void); void ram_write_tracking_stop(void); -void dirty_sync_missed_zero_copy(void); - #endif |