From owner-freebsd-current Sun Jan 14 0:19:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id AFB1937B400 for ; Sun, 14 Jan 2001 00:19:21 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f0E8IuZ27762; Sun, 14 Jan 2001 09:18:56 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Matt Dillon Cc: Garrett Wollman , Matthew Thyer , Sheldon Hearn , Edwin Culp , current@FreeBSD.ORG Subject: Re: /boot/kernel/kernel: swap_pager_getswapspace: failed In-Reply-To: Your message of "Sat, 13 Jan 2001 22:36:45 PST." <200101140636.f0E6ajX43032@earth.backplane.com> Date: Sun, 14 Jan 2001 09:18:56 +0100 Message-ID: <27760.979460336@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200101140636.f0E6ajX43032@earth.backplane.com>, Matt Dillon writes: > MFS is very inefficient. I didn't fix that... it isn't possible to > fix it without a lot of work. The real fix is to make "struct buf" more object oriented, so that instead of bwrite(bp) one does bp->b_op[BOP_BWRITE](bp) (possibly through a suitable #define.) Once this is in place, the UFS layer doesn't have to operate on a disk and the following things should be within our grasp: Mounting of filesystems in plain files (rather than using vn) A real VMFS or TMPFS which uses UFS as naming for anonymous VM objects. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message