From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: linux-aio usable? Date: Mon, 8 Mar 2010 08:00:21 -0500 Message-ID: <20100308130021.GA17498@infradead.org> References: <4B94BF05.20609@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bernhard Schmidt , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:52371 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750880Ab0CHNAh (ORCPT ); Mon, 8 Mar 2010 08:00:37 -0500 Content-Disposition: inline In-Reply-To: <4B94BF05.20609@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Mar 08, 2010 at 11:10:29AM +0200, Avi Kivity wrote: >> Are there any potential pitfalls? >> > > It won't work well unless running on a block device (partition or LVM). It will actually work well on pre-allocated filesystem images, at least on XFS and NFS. The real pitfal is that cache=none is required for kernel support as it only supports O_DIRECT. >> Is there any reason one should not compile that feature by default? It's compiled by default if libaio and it's development headers are found. >> Does it do anything if not explicitly run with aio=native? No.