fsck_ufs -B lockup any writes on filesystem
Vladimir B. Grebenschikov
vova at sw.ru
Wed Oct 15 08:06:18 PDT 2003
В ср, 15.10.2003, в 17:31, Robert Watson пишет:
> On Wed, 15 Oct 2003, Vladimir B. Grebenschikov wrote:
>
> > 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.
>
> 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 write
> 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.
> 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:
>
> Date: Mon, 13 Oct 2003 17:38:35 -0700 (PDT)
> From: Jeff Roberson <jeff at FreeBSD.org>
> To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org, cvs-all at FreeBSD.org
> Subject: cvs commit: src/sys/kern vfs_bio.c
>
> jeff 2003/10/13 17:38:35 PDT
>
> FreeBSD src repository
>
> Modified files:
> sys/kern vfs_bio.c
> Log:
> - Add a mising vn_finished_write()
>
> Pointy hat: jeff
> Found by: robert
> Obtained from: kirk
>
> 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
===================================================================
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.
--
Vladimir B. Grebenschikov <vova at sw.ru>
SWsoft Inc.
More information about the freebsd-fs
mailing list