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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"