From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Thu, 10 Jul 2008 19:55:48 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m6B2thdX030354 for ; Thu, 10 Jul 2008 19:55:43 -0700 Received: from sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 349922DB1CD for ; Thu, 10 Jul 2008 19:56:48 -0700 (PDT) Received: from sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id nQsnmNl4BdnT8bvl for ; Thu, 10 Jul 2008 19:56:48 -0700 (PDT) Message-ID: <4876CBF0.2010404@sandeen.net> Date: Thu, 10 Jul 2008 21:56:48 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: deadlocked xfs References: <4876C667.608@sandeen.net> <4876C9EB.7060601@sgi.com> In-Reply-To: <4876C9EB.7060601@sgi.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: markgw@sgi.com Cc: xfs-oss Mark Goodwin wrote: > Thanks for the report Eric. This looks very similar to a > deadlock Lachlan recently hit in the patch for > "Use atomics for iclog reference counting" > http://oss.sgi.com/archives/xfs/2008-02/msg00130.html > > It seems this patch can cause deadlocks under heavy log traffic. > I don't think anyone has a fix yet ... Lachlan is out this week, > but Tim can follow-up here ... thanks I'll look into that. Forgot to mention this was on 2.6.26-rc2 -Eric > Cheers > -- Mark > > Eric Sandeen wrote: >> while running fs_mark: >> >> fs_mark -d /mnt/test -D 256 -n 100000 -t 4 -s 20480 -F -S 0 >> >> which runs 4 threads making 20k files,things got stuffed up in the log, >> see sysrq-w output at: >> >> http://sandeen.fedorapeople.org/xfs/deadxfs >> >> 2 threads down this path: >> >> [] :xfs:xlog_state_get_iclog_space+0x83/0x187 >> [] :xfs:xlog_write+0x121/0x486 >> [] :xfs:xfs_log_write+0x2a/0x50 >> >> this is on a 4 cpu AMD. >> >> I made the fs with: >> >> mkfs.xfs -dsize=1t,agcount=32 -l lazy-count=1 -f /dev/sdb >> >> and mounted with: >> >> mount -o nobarrier,logbsize=256k,logbufs=8,inode64 /dev/sdb /mnt/test >> >> has this been seen before? >> >> Thanks, >> >> -Eric >> >> >