From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMCJG-00031v-Jn for qemu-devel@nongnu.org; Tue, 26 Aug 2014 04:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMCJA-0005O8-F0 for qemu-devel@nongnu.org; Tue, 26 Aug 2014 04:40:58 -0400 Received: from [58.251.49.30] (port=51208 helo=mail.sangfor.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMCJA-0005Nm-0u for qemu-devel@nongnu.org; Tue, 26 Aug 2014 04:40:52 -0400 Date: Tue, 26 Aug 2014 16:38:31 +0800 From: "Zhang Haoyu" References: <1404468275-15144-1-git-send-email-ming.lei@canonical.com>, <201408261531174782867@sangfor.com>, <20140826074550.GD2517@T430.nay.redhat.com> Message-ID: <201408261638292632707@sangfor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6 0/3] linux-aio: introduce submit I/O asabatch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , Peter Maydell , "Michael S. Tsirkin" , Stefan Hajnoczi , Ming Lei , qemu-devel , Stefan Hajnoczi , Paolo Bonzini >> 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. > You are right. Does the io merging in queue is worthy to be performed ? Thanks, Zhang Haoyu >Fam