Re: [PATCH] generic_file_sendpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> >With union mount and cowlink, there are two users already.  cp(1)
>> >could use it as well, even if the improvement is quite minimal.
>> 
>> FTP PUT could use this too - ...
>
>No, FTP PUT _cannot_ use it, exactly because sendfile() can't do anything 
>but file sources (and not even all file sources - it can only do regular 
>filesystems that use the page cache).
>
>This is why I want to get rid of sendfile(). It's a fundamentally broken
>interface. Really. In contrast, the pipe buffers _can_ be used for direct
>socket->file interfaces.

How will userspace access these pipe buffers?



Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux