Re: [PATCH] kvm tools: Use vring_need_event() to determine if interrupt is needed

Sasha Levin
2011-11-26T20:41:51Z

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 <asias.hejun@gmail.com> 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 <asias.hejun@gmail.com>
> >
> > 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 <levinsasha928@gmail.com>

--

Sasha.