Re: [RFC] Slimming down struct inode

Tomasz Torcz
2006-06-10T11:03:43Z

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

On Fri, Jun 09, 2006 at 07:50:08PM -0400, Theodore Ts'o wrote:
> So without further ado, here are some ideas of ways that we can slim
> down struct inode:
>
> 1) Move i_blksize (optimal size for I/O, reported by the stat system
> call). Is there any reason why this needs to be per-inode, instead
> of per-filesystem?
>
> 2) Move i_blkbits (blocksize for doing direct I/O in bits) to struct
> super. Again, why is this per-inode?

ZFS filesystem uses dynamic, per-file blocksizes. Some Linux
filesystem may implement something like this in order to be called
"modern".

--
Tomasz Torcz "God, root, what's the difference?"
zdzichu@irc.-nie.spam-.pl "God is more forgiving."

[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]