Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2006 19:35:25 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Chris <chrcoluk@gmail.com>, Mike Jakubik <mikej@rogers.com>, stable@freebsd.org
Subject:   Re: quota deadlock on 6.1-RC1
Message-ID:  <20060506233525.GA52731@xor.obsecurity.org>
In-Reply-To: <20060506204720.S46997@fledge.watson.org>
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>

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

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 06, 2006 at 08:54:34PM +0100, Robert Watson wrote:
>=20
> On Sat, 6 May 2006, Chris wrote:
>=20
> >are snapshots a default setting?
>=20
> In case people want to avoid using snapshots, here are the uses I'm=20
> currently aware of in the base system:
>=20
> - Background file system check uses snapshots.  This can be disabled by=
=20
> using
>   background_fsck=3D"NO" in /etc/rc.conf.
>=20
> - dump uses snapshots if the -L paramater is specified, in order to take =
an
>   atomic backup of the system.  It won't use snapshots unless explicitly
>   specified.
>=20
> - mksnap_ffs uses snapshots, as it's the operator snapshot creation tool.
>=20
> FWIW, I and a moderate number of other people use snapshots daily on quit=
e=20
> busy and over-burdened machines without problems.
>=20
> Also, as an FYI, several quota-related snapshot fixes went into CVS in th=
e=20
> last 24-48 hours.  Once they've settled for a few weeks, and assuming the=
y=20
> don't have complex dependencies, they will get merged to RELENG_6.=20
> Presumably if there is sufficient demand, and they adequately address the=
=20
> reports of deadlocks with quotas+snapshots, they could be merged to=20
> RELENG_6_1 as an errata update.

The fixes seem to indeed correct all the deadlocks I was seeing.  I
don't have time to produce a 6.x patch now though, but it should be a
simple matter for someone else to do.

Kris

--EeQfGwPcQSOJBaQU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEXTK9Wry0BWjoQKURAnTWAJ9FWDoH2K8TkHn8jaPAmD+DwdkVDACgtZU8
8tmlIwi76JSoq0P701SYWLI=
=Gqnj
-----END PGP SIGNATURE-----

--EeQfGwPcQSOJBaQU--



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