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 1B809C64EC4 for ; Thu, 9 Mar 2023 09:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230472AbjCIJ3d (ORCPT ); Thu, 9 Mar 2023 04:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231235AbjCIJ3P (ORCPT ); Thu, 9 Mar 2023 04:29:15 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1423A2313F; Thu, 9 Mar 2023 01:29:11 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 2C6DB68BEB; Thu, 9 Mar 2023 10:29:07 +0100 (CET) Date: Thu, 9 Mar 2023 10:29:07 +0100 From: Christoph Hellwig To: David Howells Cc: Christoph Hellwig , Miklos Szeredi , 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, John Hubbard , linux-unionfs@vger.kernel.org Subject: Re: [PATCH v16 03/13] overlayfs: Implement splice-read Message-ID: <20230309092906.GA23816@lst.de> References: <20230308155609.GA21508@lst.de> <20230308143754.1976726-1-dhowells@redhat.com> <20230308143754.1976726-4-dhowells@redhat.com> <2011735.1678290876@warthog.procyon.org.uk> <2012343.1678291479@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2012343.1678291479@warthog.procyon.org.uk> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 08, 2023 at 04:04:39PM +0000, David Howells wrote: > Christoph Hellwig wrote: > > > On Wed, Mar 08, 2023 at 03:54:36PM +0000, David Howells wrote: > > > Using do_splice_to() as a helper is probably a good idea, though both Willy > > > and Christoph seem to dislike it. > > > > That's not true. What I'm fundamentlly against is pointless wrappers > > like the call_* that add no value. do_splice_to adds useful checks, > > so if properly named and documented, I'm absolutely in favour. > > Fair enough. Rename to vfs_splice_read() okay with you? Yes.