From owner-freebsd-current Fri Jan 3 13: 7: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECDFB37B401; Fri, 3 Jan 2003 13:07:07 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 642A743EC2; Fri, 3 Jan 2003 13:07:07 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h03L75jU012342; Fri, 3 Jan 2003 13:07:05 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h03L73F7012341; Fri, 3 Jan 2003 13:07:03 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Fri, 3 Jan 2003 13:07:03 -0800 From: David Schultz To: phk@FreeBSD.ORG Cc: Bruce Evans , current@FreeBSD.ORG Subject: Re: aligned_nblks calculations broken in vm_swap.c Message-ID: <20030103210702.GD10237@HAL9000.homeunix.com> Mail-Followup-To: phk@FreeBSD.ORG, Bruce Evans , current@FreeBSD.ORG References: <20030104053046.A5138-100000@gamplex.bde.org> <78485.1041621487@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78485.1041621487@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake phk@FreeBSD.ORG : > I'm actually more than a bit of mind to rip out the entire bogus > swap-stripe code: If you want swap on a striped disk, you should > use hardware, controller, vinum, ccd or raidframe to stripe. Ccd is a nice simple solution, but by using it you lose the ability to dynamically add and remove swap and play other tricks like swap device prioritization. (Actually, prioritization would require a better abstraction for the swap subsystem anyway.) On the other hand, the static limit on the number of devices is annoying. But the point is that the swap striping code isn't entirely redundant. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message