Date: Wed, 15 Oct 2003 19:08:24 +0400 From: "Vladimir B. Grebenschikov" <vova@sw.ru> To: Robert Watson <rwatson@freebsd.org> Cc: "current@freebsd.org" <current@freebsd.org> Subject: Re: fsck_ufs -B lockup any writes on filesystem Message-ID: <1066230502.849.11.camel@localhost> In-Reply-To: <Pine.NEB.3.96L.1031015092910.48934C-100000@fledge.watson.org> References: <Pine.NEB.3.96L.1031015092910.48934C-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D3=D2, 15.10.2003, =D7 17:31, Robert Watson =D0=C9=DB=C5=D4: > On Wed, 15 Oct 2003, Vladimir B. Grebenschikov wrote: >=20 > > After unclean shutdown, system boots and work properly. After some time > > any processes triing to write was blocked in suspfs state. fsck_ufs > > process was blocked in suspwt state.=20 >=20 > I reported an identical set of symptoms over the weekend to Kirk and Jeff= , > and a fix was committed as src/sys/kerne/vfs_bio.c:1.412. A missing writ= e > lock release in buffer cache locking work would leave the disk suspended > for writes, and the result is a file system deadlock just as you describe= .=20 > Could you check and see which version of vfs_bio.c you're running with -- > if it's the earlier version, try updating? If it's the newer version, > please let me know. Here's the commit message:=20 >=20 > Date: Mon, 13 Oct 2003 17:38:35 -0700 (PDT) > From: Jeff Roberson <jeff@FreeBSD.org> > To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org > Subject: cvs commit: src/sys/kern vfs_bio.c > =20 > jeff 2003/10/13 17:38:35 PDT > =20 > FreeBSD src repository > =20 > Modified files: > sys/kern vfs_bio.c > Log: > - Add a mising vn_finished_write() > =20 > Pointy hat: jeff > Found by: robert > Obtained from: kirk > =20 > Revision Changes Path > 1.412 +1 -0 src/sys/kern/vfs_bio.c I have old version 1.409. % cvs status sys/kern/vfs_bio.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D File: vfs_bio.c Status: Needs Patch Working revision: 1.409 Mon Oct 6 11:35:04 2003 Repository revision: 1.412 /ext/ncvs/src/sys/kern/vfs_bio.c,v I will upgrade. --=20 Vladimir B. Grebenschikov <vova@sw.ru> SWsoft Inc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1066230502.849.11.camel>