Re: [PATCH] generic_file_sendpage

From: Jan Engelhardt
Date: Fri Jul 15 2005 - 14:05:11 EST


>> >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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/