FreeBSD/src a8ec96a (r322614) — share/man/man9 sbuf.9, sys/kern subr_sbuf.c
Implement simple record boundary tracking in sbuf(9) to avoid record splitting during drain operations. When an sbuf is configured to use this feature by way of the SBUF_DRAINTOEOR sbuf_new() flag, top-level sections started with sbuf_start_section() create a record boundary marker that is used to avoid flushing partial records. Reviewed by: cem,imp,wblock MFC after: 2 weeks Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D8536
Delta | File | |
---|---|---|
+10 | -2 | sys/kern/subr_sbuf.c |
+9 | -1 | share/man/man9/sbuf.9 |
+2 | -0 | sys/sys/sbuf.h |
+21 | -3 | 3 files |