xfs
[Top] [All Lists]

Re: Repeatable Panics with XFS and RAID1 (long)

To: Marcelo Tosatti <marcelo@xxxxxxxxxxxxxxxx>
Subject: Re: Repeatable Panics with XFS and RAID1 (long)
From: Rajagopal Ananthanarayanan <ananth@xxxxxxx>
Date: Thu, 22 Feb 2001 11:26:56 -0800
Cc: dcox@xxxxxxxxxx, Linux-XFS <linux-xfs@xxxxxxxxxxx>
References: <Pine.LNX.4.21.0102220754590.1694-100000@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Marcelo Tosatti wrote:
> 
> On Thu, 22 Feb 2001, Marcelo Tosatti wrote:

> >
> > I think allocating memory from the atomic queue (used mainly by in
> > interrupt context) to generate dirty data may cause problems.
> 
> I'll write the GFP_PAGE_IO thing we talked about RSN to avoid having to
> use GFP_ATOMIC.

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.

cheers,

ananth.

-- 
--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------

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