From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id A6AC47F3F for ; Wed, 18 Jun 2014 21:04:00 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay3.corp.sgi.com (Postfix) with ESMTP id 38D99AC005 for ; Wed, 18 Jun 2014 19:04:00 -0700 (PDT) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id XrKtgtKTLkPv2fPl for ; Wed, 18 Jun 2014 19:03:54 -0700 (PDT) Date: Thu, 19 Jun 2014 12:03:40 +1000 From: Dave Chinner Subject: Re: XFS WARN_ON in xfs_vm_writepage Message-ID: <20140619020340.GI4453@dastard> References: <20140613051631.GA9394@redhat.com> <20140613062645.GZ9508@dastard> <20140613141925.GA24199@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140613141925.GA24199@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Jones , xfs@oss.sgi.com, Linux Kernel , linux-mm@kvack.org On Fri, Jun 13, 2014 at 10:19:25AM -0400, Dave Jones wrote: > On Fri, Jun 13, 2014 at 04:26:45PM +1000, Dave Chinner wrote: > > > > 970 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == > > > 971 PF_MEMALLOC)) > > > > What were you running at the time? The XFS warning is there to > > indicate that memory reclaim is doing something it shouldn't (i.e. > > dirty page writeback from direct reclaim), so this is one for the mm > > folk to work out... > > Trinity had driven the machine deeply into swap, and the oom killer was > kicking in pretty often. Then this happened. Yup, sounds like a problem somewhere in mm/vmscan.c.... Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by kanga.kvack.org (Postfix) with ESMTP id 4A06E6B0031 for ; Wed, 18 Jun 2014 22:03:57 -0400 (EDT) Received: by mail-pb0-f43.google.com with SMTP id um1so1204482pbc.30 for ; Wed, 18 Jun 2014 19:03:56 -0700 (PDT) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net. [2001:44b8:8060:ff02:300:1:2:7]) by mx.google.com with ESMTP id ur10si825593pac.190.2014.06.18.19.03.54 for ; Wed, 18 Jun 2014 19:03:56 -0700 (PDT) Date: Thu, 19 Jun 2014 12:03:40 +1000 From: Dave Chinner Subject: Re: XFS WARN_ON in xfs_vm_writepage Message-ID: <20140619020340.GI4453@dastard> References: <20140613051631.GA9394@redhat.com> <20140613062645.GZ9508@dastard> <20140613141925.GA24199@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140613141925.GA24199@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Dave Jones , xfs@oss.sgi.com, Linux Kernel , linux-mm@kvack.org On Fri, Jun 13, 2014 at 10:19:25AM -0400, Dave Jones wrote: > On Fri, Jun 13, 2014 at 04:26:45PM +1000, Dave Chinner wrote: > > > > 970 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == > > > 971 PF_MEMALLOC)) > > > > What were you running at the time? The XFS warning is there to > > indicate that memory reclaim is doing something it shouldn't (i.e. > > dirty page writeback from direct reclaim), so this is one for the mm > > folk to work out... > > Trinity had driven the machine deeply into swap, and the oom killer was > kicking in pretty often. Then this happened. Yup, sounds like a problem somewhere in mm/vmscan.c.... Cheers, Dave. -- Dave Chinner david@fromorbit.com -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932125AbaFSCD4 (ORCPT ); Wed, 18 Jun 2014 22:03:56 -0400 Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:9250 "EHLO ipmail07.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726AbaFSCDz (ORCPT ); Wed, 18 Jun 2014 22:03:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcGALVDolN5LC2v/2dsb2JhbABagw2DSKd2AQIBAQaZJwGBDhd1hAMBAQUnExwzCAMYCSUPBSUDIQESiEHNbRcWhUyJG4RDAQOaQosxiCiDVCs Date: Thu, 19 Jun 2014 12:03:40 +1000 From: Dave Chinner To: Dave Jones , xfs@oss.sgi.com, Linux Kernel , linux-mm@kvack.org Subject: Re: XFS WARN_ON in xfs_vm_writepage Message-ID: <20140619020340.GI4453@dastard> References: <20140613051631.GA9394@redhat.com> <20140613062645.GZ9508@dastard> <20140613141925.GA24199@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140613141925.GA24199@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 13, 2014 at 10:19:25AM -0400, Dave Jones wrote: > On Fri, Jun 13, 2014 at 04:26:45PM +1000, Dave Chinner wrote: > > > > 970 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == > > > 971 PF_MEMALLOC)) > > > > What were you running at the time? The XFS warning is there to > > indicate that memory reclaim is doing something it shouldn't (i.e. > > dirty page writeback from direct reclaim), so this is one for the mm > > folk to work out... > > Trinity had driven the machine deeply into swap, and the oom killer was > kicking in pretty often. Then this happened. Yup, sounds like a problem somewhere in mm/vmscan.c.... Cheers, Dave. -- Dave Chinner david@fromorbit.com