From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm8tB-000524-Ou for qemu-devel@nongnu.org; Wed, 27 Jul 2011 14:31:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm8tA-0008NN-4J for qemu-devel@nongnu.org; Wed, 27 Jul 2011 14:31:25 -0400 Received: from verein.lst.de ([213.95.11.211]:58560 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm8t9-0008N3-SA for qemu-devel@nongnu.org; Wed, 27 Jul 2011 14:31:24 -0400 Date: Wed, 27 Jul 2011 20:31:22 +0200 From: Christoph Hellwig Message-ID: <20110727183122.GA14736@lst.de> References: <1311791126-11383-1-git-send-email-freddy77@gmail.com> <1311791126-11383-2-git-send-email-freddy77@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1311791126-11383-2-git-send-email-freddy77@gmail.com> Subject: Re: [Qemu-devel] [PATCH 1/2] linux aio: support flush operation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Frediano Ziglio Cc: Kevin Wolf , qemu-devel@nongnu.org Did you test this at all? On Wed, Jul 27, 2011 at 08:25:25PM +0200, Frediano Ziglio wrote: > + case QEMU_AIO_FLUSH: > + io_prep_fdsync(iocbs, fd); > + break; Looks great, but doesn't work as expected. Hint: grep for aio_fsync in the linux kernel.