mirror_yield is defined in block/trace-event, just like the following:
mirror_yield(void *s, int64_t cnt, int buf_free_count, int in_flight)
so we should exchange arguement 2 and 4 while invoking it.
Signed-off-by: Yang Wei
---
block/mirror.c | 4 ++--
1 file changed, 2 insertions(+), 2
In order to preserve sparse disk image, detect_zeroes
should also be enabled when bdrv_get_block_status_above()
returns BDRV_BLOCK_DATA
Signed-off-by: Yang Wei
---
block/mirror.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/block/mirror.c b/block/mirror.c
index b2c1fb8..8b20b7a
The following exception is threw:
Python Exception name 'long' is not defined:
Error occurred in Python command: name 'long' is not defined
Python 2.4+, int()/long() have been unified, so replace long
with int.
Signed-off-by: Yang Wei
---
scripts/qemugdb/mtree.py | 1
The following exception is threw:
Python Exception name 'long' is not defined:
Error occurred in Python command: name 'long' is not defined
Python 2.4+, int()/long() have been unified, so replace long
with int.
Signed-off-by: Yang Wei
---
scripts/qemugdb/mtree.py | 1
The following exception is threw:
Python Exception name 'long' is not defined:
Error occurred in Python command: name 'long' is not defined
In python3, long is rename to int
Signed-off-by: Yang Wei
---
scripts/qemugdb/mtree.py | 17 -
1 file changed,