This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Raid6 (experimental)

To: Nuutti Kotivuori <naked@xxxxxx>
Subject: Re: [Xen-devel] Raid6 (experimental)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 18:12:09 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 30 Nov 2004 18:13:27 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 30 Nov 2004 19:54:43 +0200." <87vfbnz0gs.fsf@xxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> My kernel config had RAID6 compiled into the kernel. It is an
> experimental option for kernel 2.6.9. At boot it measures the
> checksumming performance of different algorithms.
> Under Xen, the machine hangs when it executes the mmxx1 step - under
> native linux, it works fine and goes on to mmxx2, ssex1, sse2x1 etc.
> Not critical at all, just thought to let you guys know.

Unsurprising -- the driver is going straight at privileged control

As a quick proof of concept can you try editing drivers/md/raid6x86.h
as follows:

1. For each function called raid6_before_???(), change its
implementation to:
static inline void raid6_before_???(???)

2. For each function called raid6_after_???(), change its
implementation to:
static inline void raid6_after_???(???)

This is likely to fix your problem.

 -- Keir

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>