From owner-cvs-all@FreeBSD.ORG Wed Mar 10 13:38:57 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2E59616A4D3; Wed, 10 Mar 2004 13:38:57 -0800 (PST) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.10/8.12.9) with ESMTP id i2ALcuRt073420; Wed, 10 Mar 2004 16:38:56 -0500 (EST) (envelope-from green@green.homeunix.org) Received: from localhost (green@localhost)i2ALcuYj073417; Wed, 10 Mar 2004 16:38:56 -0500 (EST) (envelope-from green@green.homeunix.org) Message-Id: <200403102138.i2ALcuYj073417@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "Poul-Henning Kamp" In-Reply-To: Message from "Poul-Henning Kamp" <44707.1078953312@critter.freebsd.dk> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Mar 2004 16:38:55 -0500 Sender: green@green.homeunix.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org 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: Wed, 10 Mar 2004 21:38:57 -0000 "Poul-Henning Kamp" wrote: > In message <200403102109.i2AL96dn073169@green.homeunix.org>, "Brian F. Feldman" > writes: > > >Could you please implement an errx(3) for MD_ASYNC without MD_FORCE, or > >something of that ilk? Users who use anything other than mdconfig(8) for > >leanring how to use mdconfig(8) could quite easily run across something like: > > "Make sure to use -o async to get better performance." > >and shoot themselves in the foot, whereas if they saw: > > "Make sure to use -o force -o async..." > > mdconfig(8) is plenty dangerous as it is, obfuscating the arguments > is not an improvement for the marginal extra protection. Please inform me what makes mdconfig(8) dangerous when operating on a vnode. If the only thing that can be said is "-o async may cause deadlocks," then this is not "marginal extra protection" against a mode of operation that should, except for use of this option, cause no instability. Do you believe that the average hacker will think "o async, that actually sounds dangerous... maybe I should look it up first?" -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\