diff options
| author | Fabiano Rosas <farosas@suse.de> | 2024-06-17 15:57:26 -0300 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2024-06-21 09:47:22 -0300 |
| commit | b43b61d5bee522dadf44b472af71aab7235c13d5 (patch) | |
| tree | f8fc16b33cdc39384d4836d9b18330db89bed3ba /migration/options.h | |
| parent | 46cec74c1b71973756d8960a305bae1491ae6259 (diff) | |
| download | focaccia-qemu-b43b61d5bee522dadf44b472af71aab7235c13d5.tar.gz focaccia-qemu-b43b61d5bee522dadf44b472af71aab7235c13d5.zip | |
migration: Add direct-io parameter
Add the direct-io migration parameter that tells the migration code to use O_DIRECT when opening the migration stream file whenever possible. This is currently only used with the mapped-ram migration that has a clear window guaranteed to perform aligned writes. Acked-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'migration/options.h')
| -rw-r--r-- | migration/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/options.h b/migration/options.h index 4b21cc2669..a2397026db 100644 --- a/migration/options.h +++ b/migration/options.h @@ -69,6 +69,7 @@ uint32_t migrate_checkpoint_delay(void); uint8_t migrate_cpu_throttle_increment(void); uint8_t migrate_cpu_throttle_initial(void); bool migrate_cpu_throttle_tailslow(void); +bool migrate_direct_io(void); uint64_t migrate_downtime_limit(void); uint8_t migrate_max_cpu_throttle(void); uint64_t migrate_max_bandwidth(void); |