On Monday, July 16, 2001 10:15:48 PM +0200 Xuan Baldauf
<xuan--reiserfs@xxxxxxxxxxx> wrote:
[ nfs, benchmarks, reiserfs generation number support ]
>>
>> > P.S.: Hans, how do you prevent object_id|inode reusing? Using
>> > mount_id+generation counter per mount?
>>
>> There is generation counter stored persistently with super-block,
>> incremented on each inode deletion.
>
> Is the superblock always logged on inode-deletion for other reasons than
> the generation counter? If not, would the above method be more efficient,
> because it does not require logging superblocks?
inode deletion requires updating the oid map, which lives in the
superblock, so the super is always logged during an inode delete.
deletion/creation usually also involve bitmap changes, which change the
free block count, which ends up logging the super as well.
-chris
|