diff options
author | Evgeny Yakovlev <eyakovlev@virtuozzo.com> | 2016-07-18 22:39:51 +0300 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2016-07-18 18:19:01 -0400 |
commit | 2dd7e10d7c6ec6edbe610345cadd6ec82ee3e65f (patch) | |
tree | 0111cd8e3dafc516f9e9354aa96b4fda792b788d /block.c | |
parent | 35f78ab469b1d4ea4ff7ad4ffa997ae9ad3d4120 (diff) |
tests: in IDE and AHCI tests perform DMA write before flushing
Due to changes in flush behaviour clean disks stopped generating
flush_to_disk events and IDE and AHCI tests that test flush commands
started to fail.
This change adds additional DMA writes to affected tests before sending
flush commands so that bdrv_flush actually generates flush_to_disk event.
Signed-off-by: Evgeny Yakovlev <eyakovlev@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1468870792-7411-4-git-send-email-den@openvz.org
CC: Kevin Wolf <kwolf@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Fam Zheng <famz@redhat.com>
CC: John Snow <jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions