cvs commit: src/sys/kern kern_xio.c lwkt_caps.c sys_pipe.c src/sys/sys pipe.h xio.h

Matthew Dillon dillon at
Tue Mar 1 15:36:51 PST 2005

dillon      2005/03/01 15:35:16 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_xio.c lwkt_caps.c sys_pipe.c 
    sys/sys              pipe.h xio.h 
  Clean up the XIO API and structure.  XIO no longer tries to 'track' partial
  copies into or out of an XIO.  It no longer adjusts xio_offset or xio_bytes
  once they have been initialized.  Instead, a relative offset is now passed
  to API calls to handle partial copies.  This makes the API a lot less confusing
  and makes the XIO structure a lot more flexible, shareable, and more suitable
  for use by higher level entities (buffer cache, pipe code, upcoming MSFBUF
  work, etc).
  Revision  Changes    Path
  1.8       +41 -43    src/sys/kern/kern_xio.c
  1.6       +1 -1      src/sys/kern/lwkt_caps.c
  1.26      +35 -22    src/sys/kern/sys_pipe.c
  1.7       +4 -0      src/sys/sys/pipe.h
  1.6       +39 -10    src/sys/sys/xio.h

More information about the Commits mailing list