Add sync_file_range(2) implementation to linux(4); underneath it's a wrapper over the usual fsync(2). This silences some warnings when running "apt-get upgrade".
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27520 Build 25749: arc lint + arc unit
Event Timeline
sys/compat/linux/linux_file.c | ||
---|---|---|
916 | I’m not quite sure what you mean? |
sys/compat/linux/linux_file.c | ||
---|---|---|
916 | sorry I didn't provide enough context. From linux sync_file_range manpage:
so for the purpose of the linuxulator it's reasonable to translate this to plain kern_fsync, but we should have some reminder or other way to know we should revisit this in the future if we grow a FreeBSD interface for fine-grained sync |
sys/compat/linux/linux_file.c | ||
---|---|---|
916 | Ah, so an XXX comment would do? |
sys/compat/linux/linux_file.c | ||
---|---|---|
916 | Sure, I'd say ideally a LIN_SDT_PROBE* but at least an XXX comment. |