[Bug 263765] panic: ffs_sync: modification on read-only filesystem
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 May 2022 14:17:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263765 --- Comment #4 from Mark Johnston <markj@FreeBSD.org> --- (In reply to Konstantin Belousov from comment #3) Hmm, above the definition of fs_fmod we even have "/* these fields are cleared at mount time */", but this is not respected. You're right, there is no synchronization for the fs_fmod field changes. So this is probably not a new bug, but I'm surprised that I never saw it before. > More important, I believe, UFS mount lock should be taken around bcopy() in ffs_use_bwrite(), although there is probably not too many volatile fields which can be corrupted, if any. Such corruptions would presumably be detected by the superblock check hash. (It would be nice if makefs supported enabling check hashes.) -- You are receiving this mail because: You are the assignee for the bug.