Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ADA2C6FD19 for ; Thu, 16 Mar 2023 10:44:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbjCPKoD (ORCPT ); Thu, 16 Mar 2023 06:44:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229958AbjCPKn6 (ORCPT ); Thu, 16 Mar 2023 06:43:58 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C190ADC3A; Thu, 16 Mar 2023 03:43:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id B8FA4CE1C90; Thu, 16 Mar 2023 10:43:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F7B2C433EF; Thu, 16 Mar 2023 10:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678963427; bh=ivnRtF0Om5eiH05K2UCaWLsj37t/Ps4vxjDE7lmPdVQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kRu/lN3rrdr0jwR4HeZLvBm5trwz130o230jB/iSGYgR9L0ucM8d062SfHyGNV7kD gcQbh3aKnPbmEmTWU7Fv9Xl9IFbr/N+AaVGR313Tunu5+PE3Q9QdefBjjiz/kggBVJ HvxxXFbTekZCZPfI4pnxwbDYAh46aDTghGZ7gLixsJSEs+Yh94oLRGGZu0/vH7ZpI0 8sbQxfqd4d/V/PKUit+Nj47r/MDl3PvvzM675hBoNVbptp+ovSo9zsSdwIr6R9693e KKTU7wvoIopClpK1X6j38aAlAovuGoqutJjo7Djfwu314JAkoiZwsIk7mNe5ATNVwc RyThUK7axbBGg== Date: Thu, 16 Mar 2023 11:43:35 +0100 From: Christian Brauner To: David Howells Cc: Jens Axboe , Al Viro , Christoph Hellwig , Matthew Wilcox , Jan Kara , Jeff Layton , David Hildenbrand , Jason Gunthorpe , Logan Gunthorpe , Hillf Danton , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Christoph Hellwig , Steve French , John Hubbard , linux-cifs@vger.kernel.org Subject: Re: [PATCH v19 07/15] splice: Do splice read from a file without using ITER_PIPE Message-ID: <20230316104335.gpgfeigrnvdipj52@wittgenstein> References: <20230315163549.295454-1-dhowells@redhat.com> <20230315163549.295454-8-dhowells@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230315163549.295454-8-dhowells@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 15, 2023 at 04:35:41PM +0000, David Howells wrote: > Make generic_file_splice_read() use filemap_splice_read() and > direct_splice_read() rather than using an ITER_PIPE and call_read_iter(). > > With this, ITER_PIPE is no longer used. > > Signed-off-by: David Howells > Reviewed-by: Christoph Hellwig > cc: Jens Axboe > cc: Steve French > cc: Al Viro > cc: David Hildenbrand > cc: John Hubbard > cc: linux-mm@kvack.org > cc: linux-block@vger.kernel.org > cc: linux-cifs@vger.kernel.org > cc: linux-fsdevel@vger.kernel.org > --- Looks good, Reviewed-by: Christian Brauner