Re: Livelock / softdep_flush "loop"

From: Peter Holm <peter_at_holm.cc>
Date: Tue, 4 Apr 2006 06:30:43 +0200
On Mon, Apr 03, 2006 at 04:34:03PM -0400, Kris Kennaway wrote:
> On Mon, Apr 03, 2006 at 09:28:08PM +0200, Peter Holm wrote:
> > On Sun, Apr 02, 2006 at 08:48:51PM +0000, Tor Egge wrote:
> > > > > The enclosed patch might help.
> > > > > 
> > > > 
> > > > I'm testing it right now.
> > > 
> > > Similarly to the softdepflush process looping in softdep_flush(), the process
> > > creating a snapshot might loop in ffs_sync().
> > > 
> > 
> > I ran the same test with your first patch for two hours and your
> > second patch for 7 hours, without seeing any livelocks.
> > 
> > I added snapshots to the test and still did not get any livelocks, but
> > I'm not certain that this last test covers your change.
> 
> Hmm, there is a PR reporting hangs when removing many files with
> snapshots enabled, on 6.0.  I tried to reproduce it on 6.1 but failed
> with the test case that the PR said was a reliable cause for them, so
> I assumed it was fixed.  It may be that I didn't try hard enough
> though, since I didn't see your problem either.
> 

I'll pursue this problem as I've seen this once recently.

- Peter

> Kris

> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (FreeBSD)
> 
> iD8DBQFEMYa6Wry0BWjoQKURAr6DAKD5iGz6aYO5LNPlgFj4RixFonaJfQCgt3S3
> gut18DnWCkJsG6rmLzp6wx8=
> =hHdh
> -----END PGP SIGNATURE-----


-- 
Peter Holm
Received on Tue Apr 04 2006 - 02:30:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC