qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v7 0/2] mirror: Improve zero write and discard
@ 2015-12-23  4:12 Fam Zheng
  2015-12-23  4:12 ` [Qemu-devel] [PATCH v7 1/2] mirror: Rewrite mirror_iteration Fam Zheng
  2015-12-23  4:12 ` [Qemu-devel] [PATCH v7 2/2] mirror: Add mirror_wait_for_io Fam Zheng
  0 siblings, 2 replies; 6+ messages in thread
From: Fam Zheng @ 2015-12-23  4:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, pbonzini, Jeff Cody, qemu-block, mreitz

v7: Add Max's rev-by in patch 2.
    Address Max's comments in patch 1:
    - Fix tail calculation (-1)
    - Don't shadow variable.
    - Fix return value of mirror_cow_align.
    - Reorder a few lines to be clean.
    - "> 0" => ">= 0" for the return value of bdrv_get_block_status_above.

Patch 1 rewrites mirror_iteration. Patch 2 is a small DRY cleaning up.


Fam Zheng (2):
  mirror: Rewrite mirror_iteration
  mirror: Add mirror_wait_for_io

 block/mirror.c | 326 ++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 197 insertions(+), 129 deletions(-)

-- 
2.4.3

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

end of thread, other threads:[~2015-12-24  2:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23  4:12 [Qemu-devel] [PATCH v7 0/2] mirror: Improve zero write and discard Fam Zheng
2015-12-23  4:12 ` [Qemu-devel] [PATCH v7 1/2] mirror: Rewrite mirror_iteration Fam Zheng
2015-12-24  0:15   ` Max Reitz
2015-12-24  0:21     ` Max Reitz
2015-12-24  2:54       ` Fam Zheng
2015-12-23  4:12 ` [Qemu-devel] [PATCH v7 2/2] mirror: Add mirror_wait_for_io 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).