Hi all
        I think there is a problem about journal in ext3.
        in linux-2.6.17/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
The indirection blocks' modification also need their bitmap buffer and the
group summaries be modified, I think. So the block count should be 8U + 3*2;

Additionally, the journal operations in namei.c or inode.c also have the
problem like that.

Am I right? or misunderstand?  

        cheers, zhangjw

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to