Date: Sun, 3 Feb 2008 15:54:41 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys sendfile.2 src/sys/kern uipc_syscalls.c src/sys/sys socket.h Message-ID: <200802031554.m13Fsf9B001010@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2008-02-03 15:54:41 UTC
FreeBSD src repository
Modified files:
lib/libc/sys sendfile.2
sys/kern uipc_syscalls.c
sys/sys socket.h
Log:
Give sendfile(2) a SF_SYNC flag which makes it wait until all mbufs
referencing the files VM pages are returned from the network stack,
making changes to the file safe.
This flag does not guarantee that the data has been transmitted to the
other end.
Revision Changes Path
1.32 +14 -1 src/lib/libc/sys/sendfile.2
1.266 +42 -1 src/sys/kern/uipc_syscalls.c
1.98 +1 -0 src/sys/sys/socket.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802031554.m13Fsf9B001010>
