Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 09:12:36 +0400 (MSD)
From:      Igor Sysoev <is@rambler-co.ru>
To:        Bill Fenner <fenner@research.att.com>
Cc:        arch@freebsd.org
Subject:   Re: sendfile(2) SF_NOPUSH flag proposal
Message-ID:  <Pine.BSF.4.21.0305290912190.51943-100000@is>
In-Reply-To: <200305282010.h4SKAZh07220@windsor.research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 May 2003, Bill Fenner wrote:

> >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?

What exactly ? The use of TF_NOPUSH or a coalescence ? If the former then
it's a simple hackish solutiun without a modifyng writev().

> >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.

Yes, of course both flags do this.


Igor Sysoev
http://sysoev.ru/en/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0305290912190.51943-100000>