Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2006 13:57:18 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        John Kozubik <john@kozubik.com>
Cc:        freebsd-fs@freebsd.org, jroberson@chesapeake.net, freebsd-current@freebsd.org, tegge@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: UFS2 Snapshots in 6.1-Beta4 - Confirmed Problems
Message-ID:  <20060323185717.GA85305@xor.obsecurity.org>
In-Reply-To: <20060323103850.S55763@kozubik.com>
References:  <20060320224313.O55763@kozubik.com> <20060323183414.GA84775@xor.obsecurity.org> <20060323103850.S55763@kozubik.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060323185717.GA85305>