diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-11-30 18:21:22 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 10:48:54 -0600 |
commit | 23bd90d2f916f5a2e0a6ad00d26f3ff26144066d (patch) | |
tree | 7a860414c3817d2db81f2740d4d553b4491a5f09 /block.h | |
parent | 01e61e2d16b72aa3f18cd25123db069c06a3606c (diff) |
block migration: Increase dirty chunk size to 1M
4K is too small for efficiently saving and restoring multi-GB block
devices.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block.h')
-rw-r--r-- | block.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, int64_t pos, int size); -#define BDRV_SECTORS_PER_DIRTY_CHUNK 8 +#define BDRV_SECTORS_PER_DIRTY_CHUNK 2048 void bdrv_set_dirty_tracking(BlockDriverState *bs, int enable); int bdrv_get_dirty(BlockDriverState *bs, int64_t sector); |