From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqh1N-000390-3C for qemu-devel@nongnu.org; Tue, 09 Aug 2011 03:46:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qqh1M-0006mW-9I for qemu-devel@nongnu.org; Tue, 09 Aug 2011 03:46:41 -0400 Received: from mail-ew0-f45.google.com ([209.85.215.45]:37438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqh1L-0006lw-UM for qemu-devel@nongnu.org; Tue, 09 Aug 2011 03:46:40 -0400 Received: by ewy24 with SMTP id 24so2618658ewy.4 for ; Tue, 09 Aug 2011 00:46:38 -0700 (PDT) From: Frediano Ziglio Date: Tue, 9 Aug 2011 09:46:35 +0200 Message-Id: <1312876010-15361-1-git-send-email-freddy77@gmail.com> Subject: [Qemu-devel] [PATCH v2 00/15] qcow/qcow2 cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kwolf@redhat.com Cc: qemu-devel@nongnu.org, Frediano Ziglio 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(-)