Date: Wed, 28 May 2003 13:10:34 -0700 From: Bill Fenner <fenner@research.att.com> To: is@rambler-co.ru Cc: arch@freebsd.org Subject: Re: sendfile(2) SF_NOPUSH flag proposal Message-ID: <200305282010.h4SKAZh07220@windsor.research.att.com>
next in thread | raw e-mail | index | archive | help
>1) use TF_NOPUSH to coalesce the header and the first file part > or the last file part and the trailer as Matthew Dillon suggested; Is this really necessary? >2) use the same TF_NOPUSH to postpone the sending partial packet while > a reading file page from the disk; PRUS_MORETOCOME does this too, and is quite a bit less hacky. >3) and use PRUS_MORETOCOME to avoid partial packet after EAGAIN > on non-blocking socket. Yup. Bill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305282010.h4SKAZh07220>