From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id CFB4E7F37 for ; Mon, 15 Jul 2013 20:42:58 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay2.corp.sgi.com (Postfix) with ESMTP id AFF57304043 for ; Mon, 15 Jul 2013 18:42:55 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id IaJGuhrTqc7EpZp0 for ; Mon, 15 Jul 2013 18:42:54 -0700 (PDT) Date: Mon, 15 Jul 2013 21:42:44 -0400 From: Dave Jones Subject: Re: XFS: Assertion failed: xfs_dir2_sf_lookup(args) == ENOENT, file: fs/xfs/xfs_dir2_sf.c, line: 358 Message-ID: <20130716014244.GA30569@redhat.com> References: <20130712023930.GA6473@redhat.com> <20130713020030.GG3438@dastard> <20130715195800.GD1706@redhat.com> <20130716002703.GB3920@dastard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130716002703.GB3920@dastard> 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 Chinner Cc: Linux Kernel , xfs@oss.sgi.com On Tue, Jul 16, 2013 at 10:27:03AM +1000, Dave Chinner wrote: > On Mon, Jul 15, 2013 at 03:58:00PM -0400, Dave Jones wrote: > > On Sat, Jul 13, 2013 at 12:00:30PM +1000, Dave Chinner wrote: > > > > > > [ 97.162665] XFS: Assertion failed: xfs_dir2_sf_lookup(args) == ENOENT, file: fs/xfs/xfs_dir2_sf.c, line: 358 > > > .... > > > > > > So, it's not clear what has caused this yet. Is it reproducable? > > > > Just hit it again on the same machine. > > > > > would be good to get a trace of lookup vs addname events from XFS, > > > too (i.e. all the xfs_dir* and xfs_da* events) so we can see if the > > > correct lookups were done prior to the failing addname operation... > > > > <- xfs tracing noob. Got a recipe I can cut-n-paste ? > > Or a patch if that's necessary.. > > Just use your usual method of pulling tracepoints out of the kernel, > be it with perf or (my preferred method) trace-cmd: > > # trace-cmd record -e xfs_dir\* -e xfs_da\* > .... > # trace-cmd report > trace.report.out > > The trace.report.out file is what I'd like to see. The report file > could be large, so compressing it might be an idea... Hmm, will that only log traces from the command that I run ? I might need to do some kind of system-wide tracing here, because every time this has happened so far, it's happened in a different process. (rpcbind the first [wtf?], and chrony the 2nd) Can trace-cmd do that ? Dave _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs