From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Valentin Priescu <vali.priescu@gmail.com>
Cc: "Tülin İzer" <tulinizer@gmail.com>,
xen-devel <xen-devel@lists.xensource.com>,
"Matt Wilson" <msw@amazon.com>,
"Valentin Priescu" <priescuv@amazon.com>
Subject: Re: [PATCH] xen-blkback: defer freeing blkif to avoid blocking xenwatch
Date: Mon, 12 May 2014 13:50:16 -0400 [thread overview]
Message-ID: <537109D8.8090708@oracle.com> (raw)
In-Reply-To: <CANYcwK5tOAPDwj6sOjnNy8MgbZ3PSSLb3GgW9j_qfnAawBUxyw@mail.gmail.com>
On 05/12/2014 01:04 PM, Valentin Priescu wrote:
> On Mon, May 12, 2014 at 6:40 PM, Boris Ostrovsky
> <boris.ostrovsky@oracle.com> wrote:
>> On 05/09/2014 07:34 PM, Valentin Priescu wrote:
>>> From: Valentin Priescu <priescuv@amazon.com>
>>>
>>> Currently xenwatch blocks in VBD disconnect, waiting for all pending I/O
>>> requests to finish. If the VBD is attached to a hot-swappable disk, then
>>> xenwatch can hang for a long period of time, stalling other watches.
>>
>> Note that we have a GSoC student (copied here) who is going to be looking at
>> xenwatch's single-threadness (?) over the summer.
>>
> AFAIK, in older kernel versions, you could pass a flag to a registered
> watch that told
> xenwatch to spawn a new kthread when it handles the events. That
> didn't work well
> and it was removed.
Right, it would have to be something coarser than a per-event thread.
Maybe per-guest.
The goal is more scalability than correctness but as a side-effect it
would prevent xenwatch from being stuck for everyone.
-boris
> Anyway, whatever solution he comes up with, I think he still needs to
> make similar
> changes in the disconnect path for blkback. Besides, blocking
> uninterruptible for a long
> period of time is not OK.
next prev parent reply other threads:[~2014-05-12 17:50 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-09 23:34 [PATCH] xen-blkback: defer freeing blkif to avoid blocking xenwatch Valentin Priescu
2014-05-09 23:56 ` Matt Wilson
2014-05-12 6:42 ` Vasiliy Tolstov
2014-05-12 8:59 ` Valentin Priescu
2014-05-12 9:12 ` Alexey
2014-05-12 10:50 ` Valentin Priescu
2014-05-12 9:39 ` David Vrabel
2014-05-12 10:41 ` Valentin Priescu
2014-05-12 10:43 ` David Vrabel
2014-05-12 10:47 ` Valentin Priescu
2014-05-12 16:40 ` Boris Ostrovsky
2014-05-12 17:04 ` Valentin Priescu
2014-05-12 17:50 ` Boris Ostrovsky [this message]
2014-05-12 19:25 ` [PATCH v2] " Valentin Priescu
2014-05-13 9:32 ` David Vrabel
2014-05-13 17:00 ` Vasiliy Tolstov
2014-05-13 17:32 ` Valentin Priescu
2014-05-13 17:39 ` Vasiliy Tolstov
2014-05-16 8:37 ` Valentin Priescu
2014-06-02 16:20 ` Matt Wilson
2014-05-20 20:28 ` [PATCH v3] " Valentin Priescu
2014-05-22 9:11 ` Vasiliy Tolstov
2014-05-22 10:16 ` Valentin Priescu
2014-06-03 8:07 ` Vasiliy Tolstov
2014-06-03 9:59 ` Valentin Priescu
2014-06-02 16:13 ` Valentin Priescu
2014-06-02 16:56 ` Konrad Rzeszutek Wilk
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=537109D8.8090708@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=msw@amazon.com \
--cc=priescuv@amazon.com \
--cc=tulinizer@gmail.com \
--cc=vali.priescu@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).