[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: tune2fs -l stale info



On Apr 03, 2007  15:55 +0200, Vincent Caron wrote:
>   BTW, if ondisk superblocks are not updated until specific events occur
> (umount, statfs), what is the consequence of a system crash ? Does
> journalization come into play (superblock=metadata?), does fsck fixes
> figures from other ondisk structures ? Just being curious...

The free blocks/inodes count in the superblock aren't really used for
anything these days.  At mount time the kernel sums up the free inode
and block counts from the group descriptors to put into the percpu
counters, and only the group descriptors are kept uptodate.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]