From owner-freebsd-hackers Tue May 1 2:51:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id 97C5B37B422; Tue, 1 May 2001 02:51:41 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (pool0731.cvx21-bradley.dialup.earthlink.net [209.179.194.221]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id FAA11270; Tue, 1 May 2001 05:51:32 -0400 (EDT) Message-ID: <3AEE8736.17582DA3@mindspring.com> Date: Tue, 01 May 2001 02:51:50 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Matt Dillon Cc: Poul-Henning Kamp , Julian Elischer , Robert Watson , Kirk McKusick , Rik van Riel , freebsd-hackers@FreeBSD.ORG, David Xu Subject: Re: Proposed struct file (was Re: vm balance) References: <42007.987619504@critter> <200104181903.f3IJ3Bw40186@earth.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt Dillon wrote: > > This is all preliminary. The question is whether we can > cover enough bases for this to be viable. > > Here is a proposed struct file. Make f_data opaque (or > more opaque), add f_object, extend fileops (see next > structure), Added f_vopflags to indicate the presence > of a vnode in f_data, allowing extended filesystem ops > (e.g. rename, remove, fchown, etc etc etc). 1) struct fileops is evil; adding to it contributes to its inherent evil-ness. 2) The new structure is too large. 3) The old structure is too large; I have a need for 1,000,000 open files for a particular application, and I'm not willing to give up that much memory. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message