Page MenuHomeFreeBSD

Add kern_sync(9).
ClosedPublic

Authored by trasz on Feb 26 2019, 4:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 2 2024, 4:38 PM
Unknown Object (File)
Feb 19 2024, 10:08 PM
Unknown Object (File)
Dec 20 2023, 3:03 AM
Unknown Object (File)
Nov 22 2023, 9:10 PM
Unknown Object (File)
Nov 22 2023, 9:06 PM
Unknown Object (File)
Nov 22 2023, 9:05 PM
Unknown Object (File)
Nov 21 2023, 7:36 PM
Unknown Object (File)
Nov 20 2023, 7:20 AM
Subscribers

Details

Summary

Add kern_sync(9), and make kernel code call it instead of going
via sys_sync(2). Minor cleanup, no functional changes.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

For first commit it is fine, but I would prefer for kern_sync() to have more correct interface, e.g. it can return first error from VFS_SYNC() call (but still calling VFS_SYNC for all mount points).

sys/kern/vfs_syscalls.c
155 ↗(On Diff #54418)

Arguably uap wants the __unused attribute.

This revision is now accepted and ready to land.Feb 26 2019, 4:42 PM