Searched hist:237265 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sbin/fsck_ffs/
H A Dsuj.cdiff 237265 Tue Jun 19 08:16:02 MDT 2012 kib MFC r236976:
For incompleted block allocations or frees, the inode block count usage
must be recalculated. The blk_check pass of suj checker explicitely marks
inodes which owned such blocks as needing block count adjustment. But
ino_adjblks() is only called by cg_trunc pass, which is performed before
blk_check. As result, the block use count for such inodes is left wrong.
This causes full fsck run after journaled run to still find inconsistencies
like 'INCORRECT BLOCK COUNT I=14557 (328 should be 0)' in phase 1.

Fix this issue by running additional adj_blk pass after blk_check, which
updates the field.

Completed in 83 milliseconds