[Bug 203891] Consider supporting linux' sync_file_range()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 20 16:37:08 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203891

crest at rlwinm.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crest at rlwinm.de

--- Comment #2 from crest at rlwinm.de ---
While not exactly what you're asking for FreeBSD does offer aio_fsync(2) to
implement asynchronous file syncing. In theory this offers the kernel the
opportunity to flush data to stable storage at the optimal pace and notify the
application about it. If we're talking about OS specific code paths its also
possible to receive the notification via kqueue(2) + kevent(2) instead of
polling or signals. Too bad that the kernel requires that much babysitting from
userland.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list