From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMBRw-0001KK-5Y for qemu-devel@nongnu.org; Tue, 26 Aug 2014 03:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMBRm-0005ag-CI for qemu-devel@nongnu.org; Tue, 26 Aug 2014 03:45:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMBRm-0005aS-4a for qemu-devel@nongnu.org; Tue, 26 Aug 2014 03:45:42 -0400 Date: Tue, 26 Aug 2014 15:45:50 +0800 From: Fam Zheng Message-ID: <20140826074550.GD2517@T430.nay.redhat.com> References: <1404468275-15144-1-git-send-email-ming.lei@canonical.com> <201408261531174782867@sangfor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201408261531174782867@sangfor.com> Subject: Re: [Qemu-devel] [PATCH v6 0/3] linux-aio: introduce submit I/O asa batch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu Cc: Kevin Wolf , Peter Maydell , "Michael S. Tsirkin" , Stefan Hajnoczi , Ming Lei , qemu-devel , Stefan Hajnoczi , Paolo Bonzini On Tue, 08/26 15:31, Zhang Haoyu wrote: > Can we use the queued io data as caches, > io write will directly return and tell the guest the io is completed after the io is enqueued, > better user experience for burst io, > and io-read will firstly search the io queue, if matched data found, directly get the data from the queue, > if not, then read the data from the disk or host page cache. > Any ideas? Guest kernel already has a page cache that exactly does this, also keeping a copy of guest request data in qemu may hurt the bandwidth in some cases. Fam