Re: sendfile(2) SF_NOPUSH flag proposal

From: Bill Fenner (fenner_at_research.att.com)
Date: 05/28/03

  • Next message: Terry Lambert: "Re: sendfile(2) SF_NOPUSH flag proposal"
    To: is@rambler-co.ru
    Date: Wed, 28 May 2003 13:10:34 -0700
    
    

    >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
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Terry Lambert: "Re: sendfile(2) SF_NOPUSH flag proposal"

    Relevant Pages

    • Re: Read Zenith 396-25 MS-DOS hard drive on OS/2?
      ... [A complimentary Cc of this posting was sent to ... Mike Luther ... I get an error 'error in reading file' but ... What about running disk imager software on your DOS boot? ...
      (comp.os.os2.setup.storage)
    • Re: Read Zenith 396-25 MS-DOS hard drive on OS/2?
      ... Ilya Zakharevich wrote: ... this disk. ... I get an error 'error in reading file' but the expected 5_1_4 test result is in the empty directory on the hard drive with a total of 41 bytes in that file. ... Mike Luther ...
      (comp.os.os2.setup.storage)