qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/4] block: ignore flush requests when storage is clean
@ 2016-07-04 14:38 Denis V. Lunev
  2016-07-04 14:38 ` [Qemu-devel] [PATCH v5 1/4] ide: refactor retry_unit set and clear into separate function Denis V. Lunev
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Denis V. Lunev @ 2016-07-04 14:38 UTC (permalink / raw)
  To: qemu-block, qemu-devel
  Cc: den, Evgeny Yakovlev, Kevin Wolf, Max Reitz, Stefan Hajnoczi,
	Fam Zheng, John Snow

Changes from v4:
- Moved to write generation scheme instead of dirty flag
- Added retry setup to IDE PIO and FLUSH requests

Changes from v3:
- Fixed a typo in commit message
- Rebased on Kevin'n origin/block

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 <eyakovlev@virtuozzo.com>
Signed-off-by: Denis V. Lunev <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>

Evgeny Yakovlev (4):
  ide: refactor retry_unit set and clear into separate function
  ide: set retry_unit for PIO and FLUSH requests
  tests: in IDE and AHCI tests perform DMA write before flushing
  block: ignore flush requests when storage is clean

 block.c                   |  3 +++
 block/io.c                | 18 ++++++++++++++++++
 hw/ide/core.c             | 24 ++++++++++++++++++------
 include/block/block_int.h |  5 +++++
 tests/ahci-test.c         | 34 ++++++++++++++++++++++++++++++++--
 tests/ide-test.c          | 43 +++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 119 insertions(+), 8 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-07-11 21:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-04 14:38 [Qemu-devel] [PATCH v5 0/4] block: ignore flush requests when storage is clean Denis V. Lunev
2016-07-04 14:38 ` [Qemu-devel] [PATCH v5 1/4] ide: refactor retry_unit set and clear into separate function Denis V. Lunev
2016-07-04 14:38 ` [Qemu-devel] [PATCH v5 2/4] ide: set retry_unit for PIO and FLUSH requests Denis V. Lunev
2016-07-04 14:38 ` [Qemu-devel] [PATCH v5 3/4] tests: in IDE and AHCI tests perform DMA write before flushing Denis V. Lunev
2016-07-04 14:38 ` [Qemu-devel] [PATCH v5 4/4] block: ignore flush requests when storage is clean Denis V. Lunev
2016-07-07 23:04   ` Eric Blake
2016-07-08 15:19     ` Evgeny Yakovlev
2016-07-08 18:44   ` John Snow
2016-07-11 10:12     ` Evgeny Yakovlev
2016-07-11 21:01       ` John Snow
2016-07-04 14:53 ` [Qemu-devel] [PATCH v5 0/4] " Paolo Bonzini
2016-07-04 15:48   ` Evgeny Yakovlev
2016-07-07 22:06   ` John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).