inode->i_blksize and inode->i_blocks

From: Constantin Loizides (Constantin.Loizides@isg.de)
Date: Tue May 29 2001 - 04:52:16 EST


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/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:39 EST