Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/ufs/lfs



Module Name:    src
Committed By:   perseant
Date:           Sat Sep 26 04:32:00 UTC 2026

Modified Files:
        src/sys/ufs/lfs: lfs_accessors.h lfs_segment.c lfs_subr.c lfs_vfsops.c

Log Message:
Handle two causes of the panic "lfs_ifile: looping".  Repurpose the lfs_iflock
to be locked with RW_WRITER while the segment lock is held, preventing
updates to the Ifile while its blocks are being gathered; and allow more
iterations than 10 before panicking, since we might need to rewrite the
entire segment table one block per iteration.  Issue uncovered in the course
of PR kern/60746.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.315 -r1.316 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.111 -r1.112 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -u -r1.406 -r1.407 src/sys/ufs/lfs/lfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index