xfs
[Top] [All Lists]

Re: xfs trace in 4.4.2 / also in 4.3.3 WARNING fs/xfs/xfs_aops.c:1232 xf

To: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: Re: xfs trace in 4.4.2 / also in 4.3.3 WARNING fs/xfs/xfs_aops.c:1232 xfs_vm_releasepage
From: Holger HoffstÃtte <holger@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Jun 2016 21:35:56 +0200
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <5751C4B8.2080301@xxxxxxxxxxxx>
Organization: Applied Asynchrony, Inc.
References: <20160324122417.GB4068@xxxxxxxxxxxxxxx> <57332508.307@xxxxxxxxxxxx> <20160511133417.GA42410@xxxxxxxxxxxxxxx> <57333BA4.4040402@xxxxxxxxxxxx> <20160511155951.GF42410@xxxxxxxxxxxxxxx> <5738576B.4010208@xxxxxxxxxxxx> <20160515115017.GA6433@xxxxxxxxxxxxxx> <57386E84.3090606@xxxxxxxxxxxx> <20160516010602.GA24980@xxxxxxxxxxxxxxx> <57420A47.2000700@xxxxxxxxxxxx> <20160522213850.GE26977@dastard> <5751C4B8.2080301@xxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
On 06/03/16 19:56, Stefan Priebe - Profihost AG wrote:
> Hi,
> 
> should i remove the complete if conditions incl. the return 0 or should
> id convert it to if without WARN_ONCE? like below?
> 
>         if (WARN_ON_ONCE(delalloc))
>                 return 0;
>         if (WARN_ON_ONCE(unwritten))
>                 return 0;
> 
> =>
> 
>   if (delalloc)
>     return 0;
>   if (unwritten)
>     return 0;

Good thing you ask, I forgot about the returns..

Until the bigger picture has been figured out with -mm I'd probably
keep the returns.

-h

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