[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] block: ignore flush requests when storage is cl
From: |
Denis V. Lunev |
Subject: |
[Qemu-devel] [PATCH 0/3] block: ignore flush requests when storage is clean |
Date: |
Fri, 24 Jun 2016 18:06:39 +0300 |
Changes from v2:
- Better comments
- Rebased on latest master
Changes from v1:
- Flush requests that should be skipped will now wait for completion
of any previous requests already in flight
- Fixed IDE and AHCI tests to dirty media for new flush behaviour
- Fixed a problem in IDE CMD_FLUSH_CACHE failure handling
Signed-off-by: Evgeny Yakovlev <address@hidden>
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Kevin Wolf <address@hidden>
CC: Max Reitz <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Fam Zheng <address@hidden>
CC: John Snow <address@hidden>
Evgeny Yakovlev (3):
block: ignore flush requests when storage is clean
ide: ignore retry_unit check for non-retry operations
tests: in IDE and AHCI tests perform DMA write before flushing
block.c | 1 +
block/dirty-bitmap.c | 3 +++
block/io.c | 19 +++++++++++++++++++
hw/ide/core.c | 3 ++-
include/block/block_int.h | 2 ++
tests/ahci-test.c | 34 ++++++++++++++++++++++++++++++++--
tests/ide-test.c | 43 +++++++++++++++++++++++++++++++++++++++++++
7 files changed, 102 insertions(+), 3 deletions(-)
--
2.1.4