From owner-cvs-all@FreeBSD.ORG Thu Mar 11 05:08:49 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AE8D16A4CE; Thu, 11 Mar 2004 05:08:49 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A3EE43D53; Thu, 11 Mar 2004 05:08:48 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i2BD8gHZ050521; Thu, 11 Mar 2004 14:08:47 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Bruce Evans From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 12 Mar 2004 00:04:47 +1100." <20040311230444.G6384@gamplex.bde.org> Date: Thu, 11 Mar 2004 14:08:42 +0100 Message-ID: <50520.1079010522@critter.freebsd.dk> cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: Colin Percival Subject: Re: cvs commit: src/sys/sys mdioctl.h src/sys/dev/md md.c src/sbin/mdconfig mdconfig.8 mdconfig.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 13:08:49 -0000 In message <20040311230444.G6384@gamplex.bde.org>, Bruce Evans writes: >It might also have fewer deadlock possibilities. VOP_READ/VOP_WRITE are >inherently more blocking than VOP_STRATEGY. While true, this is not really relevant any more because the actual VOP_READ/VOP_WRITE calls happen from a kthread dedicated to that purpose. The deadlock I fixed (or at least made optional) was caused by the layering violation which stems from the fact that our buffer cache is not sufficiently general and our syncer suffers from hurry-up-and-wait ideology. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.