Page MenuHomeFreeBSD

Fix per-jail zfs.mount_snapshot setting
ClosedPublic

Authored by allanjude on Feb 18 2023, 2:15 AM.
Tags
None
Referenced Files
F82687515: D38662.diff
Wed, May 1, 3:24 PM
Unknown Object (File)
Thu, Apr 11, 1:45 PM
Unknown Object (File)
Tue, Apr 9, 1:44 PM
Unknown Object (File)
Apr 1 2024, 1:48 AM
Unknown Object (File)
Feb 16 2024, 3:04 AM
Unknown Object (File)
Dec 29 2023, 6:19 AM
Unknown Object (File)
Dec 20 2023, 7:05 AM
Unknown Object (File)
Dec 17 2023, 1:53 PM
Subscribers

Details

Summary

When jail.conf set the nopersist flag during startup, it was
incorrectly destroying the per-jail ZFS settings.

PR: 260160
MFC after: immediately
Sponsored by: Modirum MDPay
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 49881
Build 46773: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 18 2023, 2:16 AM
Harbormaster failed remote builds in B49873: Diff 117522!
sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
2500

{ is tabbed in one too far. Other instances in the tree use one fewer tabs from a (brief) survey I just did.

2524–2531

default: ? What else is expected?

Update to address Warner's feedback

I think if we have only two possible choices, a if .. else if would be easier to follow.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 21 2023, 10:43 PM
This revision was automatically updated to reflect the committed changes.