From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753351AbbEFPbZ (ORCPT ); Wed, 6 May 2015 11:31:25 -0400 Received: from mail-ie0-f182.google.com ([209.85.223.182]:33203 "EHLO mail-ie0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752878AbbEFP2F (ORCPT ); Wed, 6 May 2015 11:28:05 -0400 Message-ID: <554A3301.7010603@kernel.dk> Date: Wed, 06 May 2015 09:28:01 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Christophe Leroy , Alexander Viro , torvalds@linux-foundation.org, herbert@gondor.apana.org.au CC: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: Re: [PATCH v3] splice: sendfile() at once fails for big files References: <20150506152648.396B31A235F@localhost.localdomain> In-Reply-To: <20150506152648.396B31A235F@localhost.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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