From owner-cvs-all@FreeBSD.ORG Wed Feb 21 11:07:11 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D23F616E9E9; Wed, 21 Feb 2007 11:07:11 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB8713C441; Wed, 21 Feb 2007 11:07:11 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l1LB7ATT093205; Wed, 21 Feb 2007 06:07:10 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Robert Watson Date: Wed, 21 Feb 2007 06:07:07 -0500 User-Agent: KMail/1.9.4 References: <200702202204.l1KM4NV4037929@repoman.freebsd.org> <20070221103350.P80197@fledge.watson.org> In-Reply-To: <20070221103350.P80197@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702210607.08422.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Wed, 21 Feb 2007 06:07:10 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2614/Tue Feb 20 13:53:11 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Nick Hibma Subject: Re: cvs commit: src/sbin/mdconfig mdconfig.8 mdconfig.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Feb 2007 11:07:12 -0000 On Wednesday 21 February 2007 05:36, Robert Watson wrote: > > On Tue, 20 Feb 2007, Nick Hibma wrote: > > > n_hibma 2007-02-20 22:04:23 UTC > > > > FreeBSD src repository > > > > Modified files: > > sbin/mdconfig mdconfig.8 mdconfig.c > > Log: > > Kris suggested that swap is a better choice as a default than malloc. > > > > MFC: 1 week > > Are you sure this should be MFC'd? While I agree with the change in > principle, it will cause systems currently using malloc-backed md devices to > mysteriously switch to swap-backed. How will this behave on systems that > don't have swap, such as pure diskless systems not using NFS-backed swap? > This isn't a strong objection per se, but it could be that rc.d scripts need > tweaking for diskless environments if they currently do use malloc-back md > devices based on that being the default. I don't think this changes the default for anything in 6.x. He changed the default for his patch from yesterday that made it assume a type if you do 'mdconfig -s '. Currently you have to do: 'mdconfig -a -t malloc -s ' or 'mdconfig -a -t swap -s ' but Nick changed it so just '-s ' implied '-a -t malloc', and now he's changed it to imply '-a -t swap'. -- John Baldwin