a question about quota credits ...

Alex Tomas <[email protected]>
Newsgroups gmane.comp.file-systems.ext2.devel
Organization CFS
Message-ID <[email protected]>
Good day,

in include/linux/ext3_jbd.h:

/* Define the number of blocks we need to account to a transaction to
 * modify one block of data.
 * 
 * We may have to touch one inode, one bitmap buffer, up to three
 * indirection blocks, the group and superblock summaries, and the data
 * block to complete the transaction.  */

#define EXT3_SINGLEDATA_TRANS_BLOCKS	8U


who does take a care about allocation those indirect blocks?

shouldn't it be like this:

   inode                 - 1
+  3 indirect blocks     - 3 * 4 (bitmap + group + sb + block itself)
+  data block            - 4 (bitmap + group + sb + block itself)
= 17


thanks, Alex
----------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.