Re: [PATCH v3] splice: sendfile() at once fails for big files

From: Jens Axboe
Date: Wed May 06 2015 - 11:31:28 EST


On 05/06/2015 09:26 AM, Christophe Leroy wrote:
Using sendfile with below small program to get MD5 sums of some files,
it appear that big files (over 64kbytes with 4k pages system) get a
wrong MD5 sum while small files get the correct sum.
This program uses sendfile() to send a file to an AF_ALG socket
for hashing.

Thanks, queued up for this series.

--
Jens Axboe

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