xfs
[Top] [All Lists]

Re: Repeatable Panics with XFS and RAID1 (long)

To: Rajagopal Ananthanarayanan <ananth@xxxxxxx>
Subject: Re: Repeatable Panics with XFS and RAID1 (long)
From: Danny <danscox@xxxxxxxxxxxxxx>
Date: Thu, 22 Feb 2001 15:57:55 -0500
Cc: Linux-XFS <linux-xfs@xxxxxxxxxxx>
Organization: Connex Inc
References: <Pine.LNX.4.21.0102220754590.1694-100000@freak.distro.conectiva> <3A956800.A11C4AE3@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Ananth,

Rajagopal Ananthanarayanan wrote:
> 
> Hi Marcelo,
> 
> The particular allocation in question, the kmalloc in
> __pagebuf_write_full_page, is needed only to perform
> clustering. So, what's needed is a really cheap allocation;
> the code doesn't care if the allocation fails.
> 
> I think the patch you sent avoids calling writepage out of
> page_launder() on GFP_PAGE_IO. This should work also.

        Well, as I reported earlier, it still fails on my machine.  The failure
is not a panic, the kernel produces one-to-many '__alloc_pages: 0-order
allocation failed' messages, and the process stops, in uninterruptible
sleep.  Using the ps -o wchan feature, I can see one process with
'raid1_grow_bh' or 'raid1_alloc_bh' as it's wchan value, if that's a
clue.  I *do* have to stress it (memory pressure), and I'm seeing swap
activity (via top(1)) before it occurs.

        By the way, I turned on DEBUG in raid1.c, and saw it produce one
message just before it hung: "waiting for 1 bh".

-- 
"Men occasionally stumble over the truth, but most of them pick 
themselves up and hurry off as if nothing had happened." 
   -- Winston Churchill 

Danny

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