New entry in inode/stat

From: Jan Kara (jack@suse.cz)
Date: Thu Jul 27 2000 - 18:57:03 EST


  Hello.

  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?

                        Thanks for answers.

                                                Honza

PS: I'm now leaving for a week so I won't be on mail to answer...

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



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:25 EST