Re: PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)

Daniel Phillips
2002-01-07T16:07:39Z

On January 7, 2002 04:19 pm, Daniel Phillips wrote:
> - You are dreferencing a pointer, and have two allocations for every
> inode instead of one.

Oh no, you only have one allocator, and you have the filesystem do it, with
per-sb methods. Why is this better than having the VFS do it? Does this
imply you might have different sized inodes with different mounts of the same
filesystem?

The per-fs cost with my variant is: 4-8 bytes per filesystem, period. No
methods needed, and the object management code doesn't get replicated through
all the filesystems.

Also, having the inode point at itself is a little, hmm, 'what's wrong with
this picture', don't you think?

--
Daniel