Re: [PATCH] sendfile removal



H. Peter Anvin wrote:
Eric Dumazet wrote:
As I said, this new non blocking feature on the input side (disk), is
nice and usefull. (For people scared by splice() syscall :) )

Just have to mention it is a change of behavior, and documentation
probably needs to reflect this change. "Since linux 2.6.23, sendfile()
repects O_NONBLOCK on in_fd as well"


Fair enough. Unix has traditionally not acknowledged the possibility of
nonblocking I/O on conventional files, for some odd reason.

That reminds me of this patch:
http://lkml.org/lkml/2004/10/1/217
which went in for a while but was reverted:
http://lkml.org/lkml/2004/10/17/17

Pádraig
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] sendfile removal
    ... As I said, this new non blocking feature on the input side (disk), is ... nice and usefull. ... (For people scared by splice() ...
    (Linux-Kernel)
  • Re: SCU for Digital Prioris HX 5166 server
    ... drivers and documentation for HP/Compaq/Digital ... legacy hardware. ... will be usefull for anyone. ... Registered Linux User #61028 ...
    (comp.sys.dec)
  • Re: What is object oriented programming?
    ... usefull, perhaps something bad. ... There are times when you do not want to cope with whatever people might do in an overridden method. ... DO you want documentation on how String is used everywhere in the .NET framework, including how the Jitter treats in when boxing and unboxing. ... Jim Cooper jcooper@xxxxxxxxxxxxx ...
    (borland.public.delphi.non-technical)
  • Re: urllib2 documentation
    ... documentation is not usefull enough, the library has strange ways of ... i even started debuging it to kind of see how it works but ...
    (comp.lang.python)
  • kexec documentation
    ... I am looking for documentation on how to use the kexec_loadsyscall ... that Linux has. ... I've looked at the source for kexec-tools, ...
    (comp.os.linux.development.system)