From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH] kvm tools: Use vring_need_event() to determine if interrupt is needed Date: Sat, 26 Nov 2011 22:41:43 +0200 Message-ID: <1322340103.3831.1.camel@lappy> References: <1322236027-6211-1-git-send-email-asias.hejun@gmail.com> <1322314020.3831.0.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Asias He , Cyrill Gorcunov , Ingo Molnar , kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:33315 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753889Ab1KZUlv (ORCPT ); Sat, 26 Nov 2011 15:41:51 -0500 Received: by bke11 with SMTP id 11so6108467bke.19 for ; Sat, 26 Nov 2011 12:41:50 -0800 (PST) In-Reply-To: <1322314020.3831.0.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: On Sat, 2011-11-26 at 15:27 +0200, Sasha Levin wrote: > On Sat, 2011-11-26 at 14:40 +0200, Pekka Enberg wrote: > > On Fri, Nov 25, 2011 at 5:47 PM, Asias He wrote: > > > This patch also fixes fio seq-read hang problem. > > > > > > root@guest-kvm:~# cat seq-read.fio > > > [seq-read] > > > rw=read > > > bs=4096 > > > size=512m > > > direct=1 > > > filename=/dev/vdb > > > > > > root@guest-kvm:~# fio seq-read.fio > > > random-read: (g=0): rw=read, bs=4K-4K/4K-4K, ioengine=sync, iodepth=1 > > > Starting 1 process > > > Jobs: 1 (f=1): [R] [50.0% done] [0K/0K /s] [0/0 iops] [eta 00m:27s] > > > > > > Signed-off-by: Asias He > > > > Sasha, does this look good to you? > > I'm trying to see if it solved the hang problem I've mentioned on IRC. > Will update. Yup, fixed it for me. Acked-by: Sasha Levin -- Sasha.