From: George Dunlap <george.dunlap@eu.citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] xencommons: Attempt to load blktap driver
Date: Tue, 15 May 2012 17:40:41 +0100 [thread overview]
Message-ID: <4FB28709.9080001@eu.citrix.com> (raw)
In-Reply-To: <4FB2A2320200007800083EB4@nat28.tlf.novell.com>
On 15/05/12 17:36, Jan Beulich wrote:
>>>> On 15.05.12 at 18:21, George Dunlap<george.dunlap@eu.citrix.com> wrote:
>> On 15/05/12 17:16, Jan Beulich wrote:
>>>>>> On 15.05.12 at 17:49, George Dunlap<george.dunlap@eu.citrix.com> wrote:
>>>> Older kernels, such as those found in Debian Squeeze:
>>>> * Have bugs in handling of AIO into foreign pages
>>>> * Have blktap modules, which will cause qemu not to use AIO, but
>>>> which are not loaded on boot.
>>>>
>>>> Attempt to load blktap in xencommons, to make sure modern qemu's which
>>>> use AIO will work properly on those kernels.
>>>>
>>>> Signed-off-by: George Dunlap<george.dunlap@eu.citrix.com>
>>>>
>>>> diff -r 99244350516a -r db614e92faf7 tools/hotplug/Linux/init.d/xencommons
>>>> --- a/tools/hotplug/Linux/init.d/xencommons Tue May 15 16:48:49 2012 +0100
>>>> +++ b/tools/hotplug/Linux/init.d/xencommons Tue May 15 16:49:32 2012 +0100
>>>> @@ -59,6 +59,7 @@ do_start () {
>>>> modprobe evtchn 2>/dev/null
>>>> modprobe gntdev 2>/dev/null
>>>> modprobe xen-acpi-processor 2>/dev/null
>>>> + modprobe blktap 2>/dev/null
>>> Can we stop manually loading all kinds of drivers here? I was
>>> glad this went away with the switch to xencommons, and
>>> now this is coming back. Drivers definitely needed in all cases
>>> are acceptable imo, but backend drivers should be loaded as
>>> backends get created by the tools (similarly frontend drivers
>>> for the local attach case, though they should get auto-loaded
>>> normally anyway).
>> I tend to agree with you; I did it this way because that's what was
>> suggested to me. But I don't at the moment know enough about the
>> backend creation stuff in xl / qemu to DTRT here.
>>
>> If you want to volunteer to do a patch that DTRT, I think it makes sense
>> to hold off.
> No, I won't.
>
>> But if not, I suggest we accept this patch, and I'll come
>> back and try to write a proper one before the 4.2 release. I think it's
>> really important we do something before 4.2, as it causes pretty serious
>> problems on systems which are affected (almost always a host crash,
>> possibly with some disk corruption).
> A host crash because of a driver not loaded? That would suggest
> bugs elsewhere...
Yes -- a bug in the AIO implementation for foreign pages, as the
description states.
-George
next prev parent reply other threads:[~2012-05-15 16:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 15:49 [PATCH] xencommons: Attempt to load blktap driver George Dunlap
2012-05-15 16:16 ` Jan Beulich
2012-05-15 16:21 ` George Dunlap
2012-05-15 16:36 ` Jan Beulich
2012-05-15 16:40 ` George Dunlap [this message]
2012-05-16 7:47 ` Jan Beulich
2012-05-16 8:25 ` Ian Campbell
2012-05-16 8:53 ` Jan Beulich
2012-08-31 8:40 ` Ian Campbell
2012-08-31 9:03 ` Jan Beulich
2012-08-31 9:33 ` Ian Campbell
2012-08-31 9:49 ` Jan Beulich
2012-08-31 10:35 ` Ian Campbell
2012-05-16 8:21 ` Ian Campbell
2012-05-16 8:58 ` Jan Beulich
2012-05-16 9:16 ` Ian Campbell
2012-05-16 9:51 ` Jan Beulich
2012-05-16 9:57 ` Ian Campbell
2012-05-16 10:49 ` George Dunlap
2012-05-16 11:44 ` Ian Campbell
2012-06-08 15:35 ` Ian Jackson
2012-06-12 8:56 ` Ian Campbell
2012-07-30 8:23 ` Ian Campbell
2012-08-30 14:50 ` Ian Jackson
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=4FB28709.9080001@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.org \
/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.