[linux-lvm] Re: IBM to release LVM Technology to the Linux

Andi Kleen ak at suse.de
Tue Jun 27 02:02:12 UTC 2000

On Tue, Jun 27, 2000 at 11:18:16AM +1200, Dale Kemp wrote:
> Looking at the Linux VFS (Virtual FileSystem) seems to show up some problems,
> for example I was more than surprised to find a big union with all the inode types
> from every kind of filesystem in Linux. And yet there is still a call to register a
> filesystem
> with VFS. VFS is certainly not abstract. Any good OO programmer would have never
> done it this way. Maybe we need SGIs Irix/vfs system more than we
> need their XVM. See the white paper at SGI - "Porting the SGI XFS
> File System to Linux", for more on this.
> Linux VFS should know nothing about other filesystems until its told about them,
> for example when you insert a filesystem module into the kernel.
> [ Sorry this is a bit off topic for this list, but I feel its still important
> to the overall linux filesystem itself. ]

The generic VFS code just never looks into the union,it is certainly 
abstractly used. Putting it into the union is just an performance optimization 
to make it use one allocation less in critical paths. File systems that
do not want to change the source files are free to use the generic_ip
pointer instead and let it point to a private structure.

-Andi (who prefers Linux VFS over ``8.3 macro hell'' Sun/BSD derived VFS)  

More information about the linux-lvm mailing list