Page MenuHomeFreeBSD

newfs: Don't combine GEOM journaling with SU
ClosedPublic

Authored by des on Fri, Mar 20, 7:48 PM.
Tags
None
Referenced Files
F149765215: D55999.diff
Thu, Mar 26, 10:04 PM
Unknown Object (File)
Thu, Mar 26, 4:19 AM
Unknown Object (File)
Wed, Mar 25, 1:28 PM
Unknown Object (File)
Wed, Mar 25, 12:31 AM
Unknown Object (File)
Wed, Mar 25, 12:30 AM
Unknown Object (File)
Wed, Mar 25, 12:30 AM
Unknown Object (File)
Tue, Mar 24, 9:31 PM
Unknown Object (File)
Tue, Mar 24, 9:31 PM
Subscribers

Details

Summary

GEOM journaling shouldn't be used at the same time as soft updates, so
don't enable soft updates if GEOM journaling has been requested, and
error out if both are explicitly requested.

MFC after: 1 week
PR: 293896
Fixes: 61dece6d27fb ("Enable soft updates by default for UFS2 filesystems.")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71596
Build 68479: arc lint + arc unit

Event Timeline

des requested review of this revision.Fri, Mar 20, 7:48 PM

Looks good. Not clear that soft updates and GEOM will not work at cross purposes with each other..

This revision is now accepted and ready to land.Fri, Mar 20, 9:55 PM
This revision now requires review to proceed.Fri, Mar 20, 10:26 PM

Not clear that soft updates and GEOM will not work at cross purposes with each other..

Fwiw the gjournal(8) manual page has always (since 2007) recommended not combining GEOM journaling with soft updates, so this should not come as a surprise.

Good to update the manual page.

This revision is now accepted and ready to land.Fri, Mar 20, 11:47 PM
This revision was automatically updated to reflect the committed changes.