From owner-freebsd-current@FreeBSD.ORG Thu Mar 23 18:57:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D71716A41F; Thu, 23 Mar 2006 18:57:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B922243D46; Thu, 23 Mar 2006 18:57:18 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 9CE5C1A4E87; Thu, 23 Mar 2006 10:57:18 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 175EE51753; Thu, 23 Mar 2006 13:57:18 -0500 (EST) Date: Thu, 23 Mar 2006 13:57:18 -0500 From: Kris Kennaway To: John Kozubik Message-ID: <20060323185717.GA85305@xor.obsecurity.org> References: <20060320224313.O55763@kozubik.com> <20060323183414.GA84775@xor.obsecurity.org> <20060323103850.S55763@kozubik.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20060323103850.S55763@kozubik.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@freebsd.org, jroberson@chesapeake.net, freebsd-current@freebsd.org, tegge@freebsd.org, Kris Kennaway Subject: Re: UFS2 Snapshots in 6.1-Beta4 - Confirmed Problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 18:57:24 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 23, 2006 at 10:42:59AM -0800, John Kozubik wrote: >=20 >=20 > On Thu, 23 Mar 2006, Kris Kennaway wrote: >=20 > > On Tue, Mar 21, 2006 at 01:36:44AM -0800, John Kozubik wrote: > > > > > First, I have confirmed that a filesystem with multiple snapshots that > > > undergoes multiple, rapid deletions of files, will cause the system to > > > hang. I have witnessed this before, but had not confirmed it or > > > documented it in a PR. Now that I have confirmed this behavior, I ha= ve > > > documented it in: kern/94769 > > > > I ran a (completion of) your script in a loop for about 24 hours and > > it didn't deadlock. This may be because there was a second set of > > fixes that was merged in to 6.x a day or two ago. Are you able to > > confirm whether they indeed fixed this problem? >=20 > What ratio of snapshots / rms did you run ? 3/3, as you suggested. > I reproduced this easily on > 6.0-RELEASE and 6.1-BETA4. I am traveling right now and cannot test on > anything newer. Can you try it on one of the two above, confirm for > yourself that it manifests itself, and then compare that to what you see > on whatever newer code you have ? If it is fixed, that's great. Not right away, unfortunately. > > > Second, kern/92292 is still a problem. I have reproduced this error = in > > > 6.1-BETA4 (and have seen it happening since 5.1). The (small) differ= ence > > > is that the cp process seems to stick in the flswai state instead of > > > biowr. > > > > I'll test this one next. >=20 >=20 > Great - thanks. It's less urgent, as running a md-backed FS on a > snapshotted FS is less common, and easily avoided. The big fish are the > rm problems (you can't avoid deleting things) and the "full filesystem" > problems, since there is always a danger of that. Yeah, the full filesystem bugs are a big pain, but as I mentioned probably nothing can be done in time for 6.1 since it's a pretty big job. Kris --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEIu+NWry0BWjoQKURAgZBAKCEw63xQ5VBjrcnmlFOUvQjMAH94ACeOse5 E1NRLbQ7ONWK2xmbKvuaUjc= =j454 -----END PGP SIGNATURE----- --DocE+STaALJfprDB--