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
Unknown Object (File)
Wed, Jul 30, 10:21 AM
Unknown Object (File)
Tue, Jul 29, 5:42 AM
Unknown Object (File)
Sat, Jul 26, 12:32 AM
Unknown Object (File)
Fri, Jul 25, 11:56 PM
Unknown Object (File)
Fri, Jul 25, 11:59 AM
Unknown Object (File)
Thu, Jul 24, 6:37 PM
Unknown Object (File)
Wed, Jul 23, 3:53 PM
Unknown Object (File)
Mon, Jul 7, 7:20 AM
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