xfs
[Top] [All Lists]

Re: memory reclaim problems on fs usage

To: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: memory reclaim problems on fs usage
From: Arkadiusz MiÅkiewicz <arekm@xxxxxxxx>
Date: Wed, 11 Nov 2015 17:19:42 +0100
Cc: linux-mm@xxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maven.pl; s=maven; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=5Dk7Mhf7CIVcwpAC672GQ3bcRhzWv/re5bdfNWlsbRY=; b=Ds4YmlqjSp5koGe+AJ/yVDXaRuz4Xbay52NDfsMxqELUfhskVjW2mGmMpefTx8sc6K ViTigYaIRGdvNqOwYrRjbZIDDMHBVAHCowtkeuOZJ5xMnI6ttaNYozsb+ghMgd1AKtCc QClhAUQ+OmBW7oez3jdCbKZ6sqWyYDqmprA4E=
In-reply-to: <5643658B.9090206@xxxxxxxxxxxxxxxxxxx>
References: <201511102313.36685.arekm@xxxxxxxx> <5643658B.9090206@xxxxxxxxxxxxxxxxxxx>
User-agent: KMail/1.13.7 (Linux/4.3.0; KDE/4.14.13; x86_64; ; )
On Wednesday 11 of November 2015, Tetsuo Handa wrote:
> On 2015/11/11 7:13, Arkadiusz MiÅkiewicz wrote:
> > The usual (repeatable) problem is like this:
> > 
> > full dmesg: http://sprunge.us/VEiE (more in it then in partial log below)
> 
> Maybe somebody doing GFP_NOIO allocation which XFS driver doing GFP_NOFS
> allocation is waiting for is stalling inside memory allocator. I think that
> checking tasks which are stalling inside memory allocator would help.
> 
> Please try reproducing this problem with a debug printk() patch shown below
> applied. This is a patch which I used for debugging silent lockup problem.
> When memory allocation got stuck, lines with MemAlloc keyword will be
> printed.
> 
> ---
>   fs/xfs/kmem.c          |  10 ++-
>   fs/xfs/xfs_buf.c       |   3 +-
>   include/linux/mmzone.h |   1 +
>   include/linux/vmstat.h |   1 +
>   mm/page_alloc.c        | 217
> +++++++++++++++++++++++++++++++++++++++++++++++++ mm/vmscan.c            |
>  22 +++++
>   6 files changed, 249 insertions(+), 5 deletions(-)

This patch is against which tree? (tried 4.1, 4.2 and 4.3)

-- 
Arkadiusz MiÅkiewicz, arekm / ( maven.pl | pld-linux.org )

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