inode->i_blksize and inode->i_blocks

Constantin Loizides (Constantin.Loizides@isg.de)
Tue, 29 May 2001 11:52:16 +0200


Hallo,

Are there any deeper reasons,
why
a) inode->i_blksize is set to PAGESIZE eg. 4096 independent of the actual
block size of the file system?

(I suppose, this is for performance reasons (paging), right?)

b) the number of blocks is counted in 512 Bytes and not in the actual blocksize
of the filesystem?

(is this for historical reasons??)

Thx,
Constantin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/