OSDN Git Service

migration: Put zero_pages in alphabetical order
authorJuan Quintela <quintela@redhat.com>
Thu, 4 May 2023 10:33:57 +0000 (12:33 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 4 May 2023 23:04:32 +0000 (01:04 +0200)
I forgot to move it when I rename it from duplicated_pages.

Message-Id: <20230504103357.22130-3-quintela@redhat.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration-stats.h

index 5096632..cf8a4f0 100644 (file)
@@ -49,10 +49,6 @@ typedef struct {
      */
     Stat64 downtime_bytes;
     /*
-     * Number of pages transferred that were full of zeros.
-     */
-    Stat64 zero_pages;
-    /*
      * Number of bytes sent through multifd channels.
      */
     Stat64 multifd_bytes;
@@ -77,6 +73,10 @@ typedef struct {
      * Total number of bytes transferred.
      */
     Stat64 transferred;
+    /*
+     * Number of pages transferred that were full of zeros.
+     */
+    Stat64 zero_pages;
 } MigrationAtomicStats;
 
 extern MigrationAtomicStats mig_stats;