From owner-freebsd-stable@FreeBSD.ORG Sun May 7 15:26:59 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08EBA16A400; Sun, 7 May 2006 15:26:59 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D25543D45; Sun, 7 May 2006 15:26:57 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k47FQtlu023650; Sun, 7 May 2006 19:26:56 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 7 May 2006 19:26:55 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway , Tor Egge In-Reply-To: <20060507104355.K92932@woozle.rinet.ru> Message-ID: <20060507175330.H19670@woozle.rinet.ru> References: <20060504033300.GA39935@xor.obsecurity.org> <44598615.3040400@rogers.com> <20060504044758.GA41047@xor.obsecurity.org> <44599732.1050905@rogers.com> <20060505080543.GD5466@garage.freebsd.pl> <35c231bf0605051049t2761281ar97b9634b8279b1fd@mail.gmail.com> <445B991F.3050600@rogers.com> <6.2.3.4.0.20060505145259.10d8dca0@64.7.153.2> <3aaaa3a0605061238ib77bb38x6f61eb6cc1c1c6c1@mail.gmail.com> <20060506204720.S46997@fledge.watson.org> <20060506233525.GA52731@xor.obsecurity.org> <20060507104355.K92932@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sun, 07 May 2006 19:26:56 +0400 (MSD) Cc: Chris , Mike Jakubik , stable@freebsd.org, Robert Watson Subject: Re: quota deadlock on 6.1-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2006 15:26:59 -0000 On Sun, 7 May 2006, Dmitry Morozovsky wrote: DM> KK> > Also, as an FYI, several quota-related snapshot fixes went into CVS in the DM> KK> > last 24-48 hours. Once they've settled for a few weeks, and assuming they DM> KK> > don't have complex dependencies, they will get merged to RELENG_6. DM> KK> > Presumably if there is sufficient demand, and they adequately address the DM> KK> > reports of deadlocks with quotas+snapshots, they could be merged to DM> KK> > RELENG_6_1 as an errata update. DM> KK> DM> KK> The fixes seem to indeed correct all the deadlocks I was seeing. I DM> KK> don't have time to produce a 6.x patch now though, but it should be a DM> KK> simple matter for someone else to do. DM> DM> FWIW, for me it is much stabler too, at least in normal load patterns. I'll DM> spend a bit of time to stress-test this on our Samba quota-enabled server DM> during our long weekend (today-to-Tuesday) to catch possible rare races. Alas, it is locked again: root@office:~# ps axlww | grep snap 0 32 0 0 -4 0 0 8 snaplk DL ?? 0:04.55 [bufdaemon] 0 35 0 0 -4 0 0 8 snaplk DL ?? 0:01.11 [softdepflush] 0 45080 45061 0 -4 0 5980 2768 snaplk D ?? 0:00.09 /usr/local/sbin/smbd -D 0 46040 46039 0 -4 0 4492 3616 snaplk D+ p1 0:15.04 rsync -av /ar/winroot/distrib/ /st/winroot/tmp/distrib-temp/ 1002 46116 726 0 -4 0 1612 1144 snaplk D+ p3 0:00.00 ls -GF -la /st/.snap/ Unfortunately, this was with non-debug kernel. I'm trying to reproduce the lock with debug kernel right now, but still with no luck - sometimes machine is almost hangs but up to now revives 4 or 5 times. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------