qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] mirror: Improve zero write and discard
@ 2015-11-10  8:51 Fam Zheng
  2015-11-10  8:51 ` [Qemu-devel] [PATCH v3 1/2] block: Introduce coroutine lock to dirty bitmap Fam Zheng
  2015-11-10  8:51 ` [Qemu-devel] [PATCH v3 2/2] mirror: Improve zero-write and discard with fragmented image Fam Zheng
  0 siblings, 2 replies; 3+ messages in thread
From: Fam Zheng @ 2015-11-10  8:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, pbonzini, Jeff Cody, qemu-block, mreitz

The first patch adds a lock between bdrv_set_dirty{,_bitmap} and non-atomic
(coroutine) readers,

The second patch makes use of it and fixes mirror thin writing.

Fam Zheng (2):
  block: Introduce coroutine lock to dirty bitmap
  mirror: Improve zero-write and discard with fragmented image

 block.c                   |  26 ++++++--
 block/mirror.c            | 160 ++++++++++++++++++++++++++++++++++++----------
 include/block/block.h     |   6 +-
 include/block/block_int.h |   4 +-
 4 files changed, 156 insertions(+), 40 deletions(-)

-- 
2.4.3

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

end of thread, other threads:[~2015-11-10  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-10  8:51 [Qemu-devel] [PATCH v3 0/2] mirror: Improve zero write and discard Fam Zheng
2015-11-10  8:51 ` [Qemu-devel] [PATCH v3 1/2] block: Introduce coroutine lock to dirty bitmap Fam Zheng
2015-11-10  8:51 ` [Qemu-devel] [PATCH v3 2/2] mirror: Improve zero-write and discard with fragmented image Fam Zheng

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).