lkml.org 
[lkml]   [2000]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: New entry in inode/stat
   Date: 	Fri, 28 Jul 2000 01:57:03 +0200
From: Jan Kara <jack@suse.cz>

As I mentioned in previous mail to account quotas in
bytes and not in blocks (needed for reiserfs) I need to
know something like i_blocks but in bytes. So I added
field i_bytes to inode. This field is used along with
i_blocks and means (number of used bytes) % 512 (size
of block used in i_blocks).
This solution has advantage that we added only 16-bits
to structure and we needn't to update any block oriented
filesystem...
Another thing needed is to propagate somehow this entry
to struct stat so quotacheck may account bytes properly.
Whom should I ask to propagate needed changes to libc?

This is bogus! What's wrong with the existing i_size and st_size
fields?

- Ted

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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.452 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site