[lkml]   [2006]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] Slimming down struct inode
Jan Engelhardt writes:
> >
> >Sorry, but why this operation is needed? Generic code (in fs/*.c)
> >doesn't use ->i_blksize at all. If XFS wants to provide per-inode
> >st_blksize, all it has to do is to store preferred buffer size in its
> >file system specific inode (struct xfs_inode), and use something
> >different from generic_fillattr() as its ->i_op->getattr() callback
> >(xfs_vn_getattr()).
> >
> By the way, are there any significant userspace applications that use
> i_blksize/i_blkbits?

cp(1), db(3) or any other using st_blksize field of struct statbuf to
select the size of IO buffer.

> Jan Engelhardt
> --

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-15 12:16    [W:0.340 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site