Skip to content

qcow/qcow2 cleanups

Frediano Ziglio qemu-devel 3 versions – Applied

Status from this message: Thanks, applied patches 1-13 to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest15 patches 3 repliesApplied
  2. v215 patches 2 repliesSuperseded
  3. v15 patches 0 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/15qcow: allocate QCowAIOCB structure using stackblock/qcow.c block/qcow2.c+27 -630 replies
2/15qcow: QCowAIOCB field cleanupblock/qcow.c+65 -720 replies
3/15qcow: move some blocks of code to avoid useless variable initializationblock/qcow.c+26 -270 replies
4/15qcow: embed qcow_aio_read_cb into qcow_co_readv and qcow_aio_write_cb into qcow_co_writevblock/qcow.c+123 -1680 replies
5/15qcow: remove old #undefined codeblock/qcow.c+0 -630 replies
6/15qcow2: removed unused fieldsblock/qcow2.c+3 -70 replies
7/15qcow2: removed cur_nr_sectors field in QCowAIOCBblock/qcow2.c+43 -550 replies
8/15qcow2: remove l2meta from QCowAIOCBblock/qcow2.c+8 -70 replies
9/15qcow2: remove cluster_offset from QCowAIOCBblock/qcow2.c+11 -110 replies
10/15qcow2: remove common from QCowAIOCBblock/qcow2.c+4 -40 replies
11/15qcow2: reindent and use while before the big jumpblock/qcow2.c+135 -1370 replies
12/15qcow2: removed QCowAIOCB entirelyblock/qcow2.c+80 -1270 replies
13/15qcow2: remove memory leakblock/qcow2.c+2 -00 replies
14/15qcow2: small math optimizationblock/qcow2-refcount.c+1 -41 reply
15/15qcow2: small optimizationblock/qcow2-refcount.c+5 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 00/15] qcow/qcow2 cleanups

These patches mostly cleanup some AIO code using coroutines. Mostly they use stack instead of allocated AIO structure. Feel free to collapse it too short.

Frediano Ziglio (15):
qcow: allocate QCowAIOCB structure using stack
qcow: QCowAIOCB field cleanup
qcow: move some blocks of code to avoid useless variable
initialization
qcow: embed qcow_aio_read_cb into qcow_co_readv and qcow_aio_write_cb
into qcow_co_writev
qcow: remove old #undefined code
qcow2: removed unused fields
qcow2: removed cur_nr_sectors field in QCowAIOCB
qcow2: remove l2meta from QCowAIOCB
qcow2: remove cluster_offset from QCowAIOCB
qcow2: remove common from QCowAIOCB
qcow2: reindent and use while before the big jump
qcow2: removed QCowAIOCB entirely
qcow2: remove memory leak
qcow2: small math optimization
qcow2: small optimization

 block/qcow.c           |  378 ++++++++++++++------------------------------
 block/qcow2-refcount.c |   16 +--
 block/qcow2.c          |  412 +++++++++++++++++++----------------------------
 3 files changed, 294 insertions(+), 512 deletions(-)