Re: [PATCH 13/14] fs,btrfs: Allow kswapd to writeback pages

From: Chris Mason
Date: Wed Jun 30 2010 - 09:07:50 EST


On Tue, Jun 29, 2010 at 12:34:47PM +0100, Mel Gorman wrote:
> As only kswapd and memcg are writing back pages, there should be no
> danger of overflowing the stack. Allow the writing back of dirty pages
> in btrfs from the VM.
>
> Signed-off-by: Mel Gorman <mel@xxxxxxxxx>

Signed-off-by: Chris Mason <chris.mason@xxxxxxxxxx>

But, this is only the metadata writepage. fs/btrfs/inode.c has another
one for data pages. (just look for PF_MEMALLOC).

-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/