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 3E755C678D5 for ; Wed, 8 Mar 2023 16:07:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232059AbjCHQHY (ORCPT ); Wed, 8 Mar 2023 11:07:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232385AbjCHQG7 (ORCPT ); Wed, 8 Mar 2023 11:06:59 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4542B9BE32 for ; Wed, 8 Mar 2023 08:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678291486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2NWMkFGTVgULUDjAwqmBVEBtedj5eFLtnY35SqecmsU=; b=ZSjLlMbbJVrDjSQiofl+uDPU7gTSw/bNAP7sKJS+tihf5A8XqjV+squeuEezvz7q+f7xF4 l5pUYUX0ZZjKtwdMPCZgmT++l/iVDCasYtcM049043KG/mtaWwVUbsDA5N5UHfE49ITjUg d9KxzwV8ukqGCJOqTZmXqrwXRCeeggw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-512-sBNcmhvQO3ucJLvWDaxBBQ-1; Wed, 08 Mar 2023 11:04:43 -0500 X-MC-Unique: sBNcmhvQO3ucJLvWDaxBBQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 384B687B2A6; Wed, 8 Mar 2023 16:04:42 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id C38C42026D4B; Wed, 8 Mar 2023 16:04:39 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20230308155609.GA21508@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> To: Christoph Hellwig Cc: dhowells@redhat.com, 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 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2012342.1678291479.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Mar 2023 16:04:39 +0000 Message-ID: <2012343.1678291479@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? David