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

2014-12-18 Thread Christophe Leroy
When big files (over 64kbytes) are sent with sendfile(), they are sent by blocks of 64kbytes. In that case, the target must be informed that the current block is not the last one, otherwise it might take wrong actions. The issue was observed while sending a file to an AF_ALG socket for hashing. The

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

2014-10-23 Thread Christophe Leroy
When big files (over 64kbytes) are sent with sendfile(), they are sent by blocks of 64kbytes. In that case, the target must be informed that the current block is not the last one, otherwise it might take wrong actions. The issue was observed while sending a file to an AF_ALG socket for hashing. The

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

2014-07-11 Thread Christophe Leroy
When big files (over 64kbytes) are sent with sendfile(), they are sent by blocks of 64kbytes. In that case, the target must be informed that the current block is not the last one, otherwise if might take wrong actions. The issue was observed while sending a file to an AF_ALG socket for hashing. The