All of lore.kernel.org
 help / color / mirror / Atom feed
* inode->i_blksize and inode->i_blocks
@ 2001-05-29  9:52 Constantin Loizides
  0 siblings, 0 replies; only message in thread
From: Constantin Loizides @ 2001-05-29  9:52 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-29  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-29  9:52 inode->i_blksize and inode->i_blocks Constantin Loizides

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.