Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3741810rwb; Sun, 30 Jul 2023 15:13:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlFbjrW/PgcW+tcOlQ4wg+7Z8Pr3G9JHruzreGrtm/d99v7XOoxN3eXk46ltGQzPMTzdHHPJ X-Received: by 2002:a17:903:230b:b0:1b8:656f:76e7 with SMTP id d11-20020a170903230b00b001b8656f76e7mr9669411plh.23.1690755182828; Sun, 30 Jul 2023 15:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690755182; cv=none; d=google.com; s=arc-20160816; b=wGmBD1GFojeJfs1tfaGtXm2paNVcAOmRrv1jCnFpM+xT+cAloxm+46BMamxQiprxnH vlKgLqquVHFF8X7e/+SoTk9wrkIw36D+aTXr5xM9lQ+IqdoQerZ0czfCiU/f8Fhb7/EI 4mXEi9vSsUZ14DTPuIVeZAinaXHK4ts0TyVHzWPm9PlX79kxURQ1JBNY4AkKFjxD7BR3 6x51UXt7PpvnXoQY31NeJAZ6cmRBbIHVbqt1NPIDYs8aZ+8dvqyMTsPv4uHoL6HAT/n7 TLSKHvpuzqNnqM3f1ip6fb/LN4JbvSYfusYstavdhqmNYoKQ711EWCHeZUsd1txABMNz JPGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:references:in-reply-to:subject :cc:to:from:mime-version:content-transfer-encoding:dkim-signature :dkim-signature; bh=0DtQLsEPs2QEX8EYeZ0XdC8blDLkykDYdkAAk1sVMV0=; fh=kTpX4Y5fMHuhObsJxvfRnsISEYAXHxloi/fGkVV9IYU=; b=JFQ6p46R9+bAx2Bz57FxrTA9F15F24rmbTPoMf9pn2V2OwV70F2pG8di1AfQ3eNOc9 1rtUGcPaOdWGMjQu0iuopwjhlVTIpTLNjg2ursEUUPZuYFAneo73fGp6TfiqUHoQwK1G IYgJ9FUcUuASi+ezyWBXXy+Gpw0wQR2lQC6hcTN4zlzhNAR16O3bCq9jZjIiyvMphLau /8cK/VFqSixjKgttm8vx+mD2s7L98nQuzlqOtwnKd484bUY9ctBuiBzwLTOrQn9raUy9 Uvg3pjuV9HZmUIfki9XL763K1IvKf88kwI4WwM5mUcnbOO5P+Am5Qgn+j63Jv4BKtJ/r eYCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=jk1dGzew; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=9gWX19jQ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a170903230400b001b890417a0bsi6396146plh.410.2023.07.30.15.12.44; Sun, 30 Jul 2023 15:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=jk1dGzew; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=9gWX19jQ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229539AbjG3WCj (ORCPT + 99 others); Sun, 30 Jul 2023 18:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjG3WCi (ORCPT ); Sun, 30 Jul 2023 18:02:38 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17AE6A1; Sun, 30 Jul 2023 15:02:37 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 7F3472195F; Sun, 30 Jul 2023 22:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1690754556; h=from:from:reply-to: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=0DtQLsEPs2QEX8EYeZ0XdC8blDLkykDYdkAAk1sVMV0=; b=jk1dGzewobiiNJlcH/DTn9D1rWiv4aageju1X+61JXnKJKeEcC7KbtNGkkUnnCP4Uv8nyt EOE6xFzbg1xoe428yCTvwNeT2wLXijXM8WcHKgfZS0J68KyevRZsOXVcSYUt1UoK5YavhE XMlSDKaseRORzV9uFH6hYayFZdTcbwE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1690754556; h=from:from:reply-to: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=0DtQLsEPs2QEX8EYeZ0XdC8blDLkykDYdkAAk1sVMV0=; b=9gWX19jQn5rm4XsHi8Th3zyqX+CkGgDSAjQANMcpdBieRpaOiHFzhLmqUT+QhDTMg58tMI N73msxgi+1DTN7Aw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 135F813595; Sun, 30 Jul 2023 22:02:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4kDXLfjdxmRtOQAAMHmgww (envelope-from ); Sun, 30 Jul 2023 22:02:32 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "NeilBrown" To: "Chuck Lever" Cc: "Chuck Lever" , "David Howells" , "Jeff Layton" , "Hugh Dickins" , "Jens Axboe" , "Matthew Wilcox" , linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] nfsd: Fix reading via splice In-reply-to: References: <169054754615.3783.11682801287165281930.stgit@klimt.1015granger.net>, <169058849828.32308.14965537137761913794@noble.neil.brown.name>, Date: Mon, 31 Jul 2023 08:02:29 +1000 Message-id: <169075454985.32308.7692478577605440938@noble.neil.brown.name> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, 31 Jul 2023, Chuck Lever wrote: > > I'd like to apply David's fix as-is, unless it's truly broken or > someone has a better quick solution. > Your reasoning is sound. From a behavioural perspective (though not from a maintenance perspective) the patch is no worse than the current code, so Reviewed-by: NeilBrown NeilBrown