Re: [RFC] Slimming down struct inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 > -- 

Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux