Page MenuHomeFreeBSD

ffs_use_bwrite: make the superblock snapshot more consistent
ClosedPublic

Authored by kib on May 8 2022, 2:06 PM.
Tags
None
Referenced Files
F81886522: D35149.diff
Mon, Apr 22, 4:55 PM
Unknown Object (File)
Jan 11 2024, 11:01 PM
Unknown Object (File)
Dec 22 2023, 11:57 PM
Unknown Object (File)
Dec 19 2023, 8:03 AM
Unknown Object (File)
Sep 2 2023, 5:01 AM
Unknown Object (File)
Aug 30 2023, 11:46 PM
Unknown Object (File)
Aug 30 2023, 6:06 PM
Unknown Object (File)
Aug 30 2023, 6:04 PM
Subscribers

Details

Summary
Copy in-memory struct fs to the superblock buffer under the UFS mutex.

Clear fs_fmod once more, in the buffer data copy.
This is needed for in-kernel copy of the code, where allocation might
happen after fs_fmod is cleared in ffs_sbput() but before the write.

Reported by:    markj
PR:     263765

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable