From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br5sm-0004H4-Ft for qemu-devel@nongnu.org; Mon, 03 Oct 2016 12:14:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br5sh-00053r-Gq for qemu-devel@nongnu.org; Mon, 03 Oct 2016 12:14:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br5sh-00053U-An for qemu-devel@nongnu.org; Mon, 03 Oct 2016 12:14:19 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B519EC05AA55 for ; Mon, 3 Oct 2016 16:14:18 +0000 (UTC) From: Paolo Bonzini Date: Mon, 3 Oct 2016 18:14:14 +0200 Message-Id: <1475511256-20051-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] block: introduce and use aio_bh_schedule_oneshot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, stefanha@redhat.com This simplifies a bit using the bottom half API in the common case of one-shot bottom halves, that are created once per usage. This patch comes from the multiqueue series. Paolo Paolo Bonzini (2): async: add aio_bh_schedule_oneshot block: use aio_bh_schedule_oneshot async.c | 27 +++++++++++++++++++++++---- block/archipelago.c | 5 +---- block/blkdebug.c | 7 +------ block/blkverify.c | 8 ++------ block/block-backend.c | 23 +++++++---------------- block/curl.c | 7 +------ block/gluster.c | 6 +----- block/io.c | 11 +++-------- block/iscsi.c | 7 ++----- block/nfs.c | 7 ++----- block/null.c | 5 +---- block/qed.c | 6 ++---- block/qed.h | 1 - block/rbd.c | 8 ++------ blockjob.c | 7 ++----- include/block/aio.h | 10 ++++++++++ 16 files changed, 60 insertions(+), 85 deletions(-) -- 2.7.4