From: Jens Axboe <axboe@suse.de>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
Xen development list <xen-devel@lists.xensource.com>,
Kurt Garloff <garloff@suse.de>,
Andrew Theurer <habanero@us.ibm.com>,
Philip R Auld <pauld@egenera.com>,
Vincent Hanquez <tab@snarc.org>,
Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Subject: Re: poor domU VBD performance.
Date: Fri, 1 Apr 2005 07:43:54 +0200 [thread overview]
Message-ID: <20050401054349.GA1747@suse.de> (raw)
In-Reply-To: <1fd8d5692d98c4a9f0687f24ecb3a395@cl.cam.ac.uk>
On Thu, Mar 31 2005, Keir Fraser wrote:
>
> On 31 Mar 2005, at 21:49, Andrew Theurer wrote:
>
> >BTW, I am now getting this with xen-unstable:
> >
> >Process xenblkd (pid: 730, threadinfo=f7cc4000 task=f7c42510)
> >Stack: c022d172 f44b1a08 f363c6f0 f7cc4000 c046d40c c02849f8 f44b1a08
> >00000010
> > 00000000 f7c42510 c0115b0a 00000000 00000000 f7c42510 c17f1e48
> >c01092e6
> > 00000000 f7c42510 c0115b0a 00100100 00200200 00000000 00000000
> >00000000
>
> I wonder if blk_run_queue() is not the right thing to call. For
> example, it ignores whether the queue has been forcibly stopped by the
> underlying driver and doesn't check whether there are any requests that
> actually require pushing. Plus various drivers (swraid and probably
> lvm) have their own unplug function and blk_run_queue doesn't handle
> that.
>
> Could you try again, but replace calls to blk_run_queue(plugged_queue)
> in blkback.c with:
> if ( plugged_queue->unplug_fn )
> plugged_queue->unplug_fn(plugged_queue);
>
> This looks like a better match with what various other drivers do (e.g.
> swraid).
Yes you are right, you really want to just unplug it. That should work
correctly in all cases. Remember that ->unplug_fn must not be called
with any locks called.
--
Jens Axboe
next prev parent reply other threads:[~2005-04-01 5:43 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 17:55 poor domU VBD performance Ian Pratt
2005-03-31 18:04 ` Jens Axboe
2005-03-31 18:57 ` Keir Fraser
2005-03-31 19:22 ` Jens Axboe
2005-03-31 20:49 ` Andrew Theurer
2005-03-31 21:15 ` Keir Fraser
2005-03-31 21:27 ` Andrew Theurer
2005-04-01 5:43 ` Jens Axboe [this message]
2005-04-01 16:36 ` peter bier
-- strict thread matches above, loose matches on Subject: below --
2005-04-04 19:36 Ian Pratt
2005-04-04 22:35 ` Nicholas Lee
2005-04-12 10:29 ` peter bier
2005-04-02 10:56 Ian Pratt
2005-04-02 12:10 ` Cédric Schieli
2005-04-01 23:22 Ian Pratt
2005-04-02 10:36 ` Cédric Schieli
2005-04-02 19:54 ` peter bier
2005-03-31 22:36 Ian Pratt
2005-03-31 23:05 ` Andrew Theurer
2005-04-01 21:40 ` Cédric Schieli
2005-03-31 21:32 Ian Pratt
2005-03-31 22:13 ` Andrew Theurer
2005-03-30 11:16 RE: " Ian Pratt
2005-03-30 17:01 ` peter bier
2005-03-31 7:05 ` RE: " Jens Axboe
2005-03-31 7:10 ` Jens Axboe
2005-03-31 8:17 ` Keir Fraser
2005-03-31 8:19 ` Jens Axboe
2005-03-31 14:33 ` Philip R Auld
2005-03-31 15:34 ` Kurt Garloff
2005-03-31 15:39 ` Jens Axboe
2005-03-31 15:41 ` Jens Axboe
2005-03-31 16:27 ` Nivedita Singhvi
2005-03-31 17:43 ` Jens Axboe
2005-03-31 18:27 ` Kurt Garloff
2005-03-31 21:59 ` Nivedita Singhvi
2005-03-31 15:49 ` Keir Fraser
2005-03-31 16:02 ` Andrew Theurer
2005-03-31 17:44 ` Jens Axboe
2005-03-31 16:55 ` Philip R Auld
2005-03-31 16:53 ` Philip R Auld
2005-03-31 18:01 ` Jens Axboe
2005-03-31 18:43 ` Philip R Auld
2005-03-31 19:07 ` Keir Fraser
2005-03-31 19:10 ` Keir Fraser
2005-03-31 19:20 ` Jens Axboe
2005-03-31 19:21 ` Jens Axboe
[not found] <A95E2296287EAD4EB592B5DEEFCE0E9D1E3905@liverpoolst.ad.cl.cam.ac.uk>
2005-03-29 22:45 ` RE: " Kurt Garloff
2005-03-29 22:59 ` Andrew Theurer
2005-03-29 23:19 ` Kurt Garloff
2005-03-29 23:26 ` Andrew Theurer
2005-03-29 14:19 Ian Pratt
2005-03-29 15:27 ` peter bier
2005-03-28 22:17 Ian Pratt
2005-03-29 8:44 ` peter bier
2005-03-28 20:14 Ian Pratt
2005-03-28 20:18 ` Andrew Theurer
2005-03-28 21:48 ` Andrew Theurer
2005-03-28 23:38 ` Peter Bier
2005-03-29 0:27 ` Andrew Theurer
2005-03-29 11:39 ` peter bier
2005-03-28 18:55 Ian Pratt
2005-03-28 19:33 ` Andrew Theurer
2005-03-27 17:41 Ian Pratt
2005-03-28 8:48 ` peter bier
2005-03-28 12:44 ` peter bier
2005-03-29 6:20 ` Pasi Kärkkäinen
2005-03-26 18:14 Peter Bier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050401054349.GA1747@suse.de \
--to=axboe@suse.de \
--cc=Christian.Limpach@cl.cam.ac.uk \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=garloff@suse.de \
--cc=habanero@us.ibm.com \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=pauld@egenera.com \
--cc=tab@snarc.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.