Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 04:35:50 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        fs@FreeBSD.org
Subject:   [gluk@cvs.openbsd.org: CVS: cvs.openbsd.org: src]
Message-ID:  <20010723043547.A3951@xor.obsecurity.org>

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

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

Does someone feel like checking whether this is relevant to us?

Kris

----- Forwarded message from Grigoriy Orlov <gluk@cvs.openbsd.org> -----

Delivered-To: kkenn@localhost.obsecurity.org
Date: Sun, 27 May 2001 18:23:03 -0600 (MDT)
From: Grigoriy Orlov <gluk@cvs.openbsd.org>
Subject: CVS: cvs.openbsd.org: src
To: source-changes@cvs.openbsd.org
Reply-To: Grigoriy Orlov <gluk@cvs.openbsd.org>
Precedence: bulk
Delivered-to: kris@freebsd.org
X-Loop: source-changes@openbsd.org

CVSROOT:	/cvs
Module name:	src
Changes by:	gluk@cvs.openbsd.org	2001/05/27 18:23:02

Modified files:
	sys/kern       : vfs_cluster.c=20

Log message:
cluster_rbuild() have a race between incore and getblk. incore() returns
zero indicating that buffer is not in a cache, but getblk() going to sleep:
getblk->getnewbuf->tsleep. When getnewbuf() returns after a sleep, getblk()
may find B_DONE buffer in hash and return it. When io operation finishes
biodone() calls cluster_callback() which moves pages from one big cluster
buffer into several component buffers and calls biodone() for every compone=
nt
buffer. Since there are a component buffer with B_DONE already set, biodone=
()
panices: "biodone already".

costa@	ok.


----- End forwarded message -----

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7XAwRWry0BWjoQKURArbJAJ9MrJI5PAehq8ipB/umfM4iiCidtgCfVC07
U5xl7Gly6VBQe+kL7nEnJiI=
=EfqE
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




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