From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751832AbaBLEWW (ORCPT ); Tue, 11 Feb 2014 23:22:22 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:41580 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750903AbaBLEWV (ORCPT ); Tue, 11 Feb 2014 23:22:21 -0500 Date: Wed, 12 Feb 2014 04:22:15 +0000 From: Al Viro To: Dave Jones , Linus Torvalds , Eric Sandeen , Dave Chinner , Linux Kernel , xfs@oss.sgi.com Subject: Re: 3.14-rc2 XFS backtrace because irqs_disabled. Message-ID: <20140212042215.GN18016@ZenIV.linux.org.uk> References: <20140211172707.GA1749@redhat.com> <20140211210841.GM13647@dastard> <52FA9ADA.9040803@sandeen.net> <20140212004403.GA17129@redhat.com> <20140212010941.GM18016@ZenIV.linux.org.uk> <20140212040358.GA25327@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140212040358.GA25327@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 Tue, Feb 11, 2014 at 11:03:58PM -0500, Dave Jones wrote: > [ 3111.414202] [] bio_alloc_bioset+0x156/0x210 > [ 3111.414855] [] _xfs_buf_ioapply+0x1c1/0x3c0 [xfs] > [ 3111.415517] [] ? xlog_bdstrat+0x22/0x60 [xfs] > [ 3111.416175] [] xfs_buf_iorequest+0x6b/0xf0 [xfs] > [ 3111.416843] [] xlog_bdstrat+0x22/0x60 [xfs] > [ 3111.417509] [] xlog_sync+0x3a7/0x5b0 [xfs] > [ 3111.418175] [] xlog_state_release_iclog+0x10f/0x120 [xfs] > [ 3111.418846] [] xlog_write+0x6f0/0x800 [xfs] > [ 3111.419518] [] xlog_cil_push+0x2f1/0x410 [xfs] Very interesting. The first thing xlog_cil_push() is doing is blocking kmalloc(). So at that point it still hadn't been atomic. I'd probably slap may_sleep() in the beginning of xlog_sync() and see if that triggers... From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id A2EA67F50 for ; Tue, 11 Feb 2014 22:22:23 -0600 (CST) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay1.corp.sgi.com (Postfix) with ESMTP id 7E4068F804C for ; Tue, 11 Feb 2014 20:22:23 -0800 (PST) Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [195.92.253.2]) by cuda.sgi.com with ESMTP id CMfDp8y2x7yR7KbN (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 11 Feb 2014 20:22:21 -0800 (PST) Date: Wed, 12 Feb 2014 04:22:15 +0000 From: Al Viro Subject: Re: 3.14-rc2 XFS backtrace because irqs_disabled. Message-ID: <20140212042215.GN18016@ZenIV.linux.org.uk> References: <20140211172707.GA1749@redhat.com> <20140211210841.GM13647@dastard> <52FA9ADA.9040803@sandeen.net> <20140212004403.GA17129@redhat.com> <20140212010941.GM18016@ZenIV.linux.org.uk> <20140212040358.GA25327@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140212040358.GA25327@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 , Linus Torvalds , Eric Sandeen , Dave Chinner , Linux Kernel , xfs@oss.sgi.com On Tue, Feb 11, 2014 at 11:03:58PM -0500, Dave Jones wrote: > [ 3111.414202] [] bio_alloc_bioset+0x156/0x210 > [ 3111.414855] [] _xfs_buf_ioapply+0x1c1/0x3c0 [xfs] > [ 3111.415517] [] ? xlog_bdstrat+0x22/0x60 [xfs] > [ 3111.416175] [] xfs_buf_iorequest+0x6b/0xf0 [xfs] > [ 3111.416843] [] xlog_bdstrat+0x22/0x60 [xfs] > [ 3111.417509] [] xlog_sync+0x3a7/0x5b0 [xfs] > [ 3111.418175] [] xlog_state_release_iclog+0x10f/0x120 [xfs] > [ 3111.418846] [] xlog_write+0x6f0/0x800 [xfs] > [ 3111.419518] [] xlog_cil_push+0x2f1/0x410 [xfs] Very interesting. The first thing xlog_cil_push() is doing is blocking kmalloc(). So at that point it still hadn't been atomic. I'd probably slap may_sleep() in the beginning of xlog_sync() and see if that triggers... _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs