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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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 

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 component
buffer. Since there are a component buffer with B_DONE already set, biodone()
panices: "biodone already".

costa@	ok.


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

[-- Attachment #2 --]
-----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-----
home | help

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