In message <[EMAIL PROTECTED]>, 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
[EMAIL PROTECTED]         | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to