r285050 fixed a bug in pw that could lead to /etc/passwd or /etc/group
corruption on power loss. However, it fixed it by opening those files with
O_SYNC, which is very slow, especially on ZFS. This change replaces O_SYNC
with appropriately place fsync()s instead, which is much faster. Using a
ZFS tmpdir, the time to run pw's kyua tests drops from 245s to 35s.
Details
Details
pw's kyua tests
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5680 Build 5967: CI src build Jenkins Build 5966: arc lint + arc unit
Event Timeline
Comment Actions
Is anybody able to test the pfsense issue with my patch?
https://redmine.pfsense.org/issues/4523