cvs commit: src/lib/libc/sys sendfile.2 src/sys/kern uipc_syscalls.c src/sys/sys socket.h

Poul-Henning Kamp phk at FreeBSD.org
Sun Feb 3 07:54:41 PST 2008


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


More information about the cvs-src mailing list