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

看板DFBSD_commit作者時間21年前 (2005/03/02 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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 Log: 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 http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_xio.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_caps.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_pipe.c.diff?r1=1.25&r2=1.26&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/pipe.h.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/xio.h.diff?r1=1.5&r2=1.6&f=u
文章代碼(AID): #129G9700 (DFBSD_commit)