🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #9027

Re: [PATCH v2 0/6] nfsd: add new export options for controlling read/write iomode

#9027
From: Chuck Lever
Date: Fri, 30 Oct 2026 21:42
31 lines
8986 bytes
On Thu, 29 Oct 2026 08:05:13 -0400, Jeff Layton wrote:
> This version has the changes that Chuck requested. Most of it is minor
> logic tweaks for saner handling of splice reads, and renaming the
> options to read_io=/write_io=. I'll also be sending a v2 of the nfs-utils
> patchset. Original cover letter follows:
> 
> When we originally added support for the dontcache and direct iomodes to
> nfsd, we added global debugfs switches to control them. That was fine for
> experimentation but the goal was always to move these controls to
> something more permanent.
> 
> [...]

Applied to nfsd-testing, thanks!

[1/6] NFSD: Add per-export read/write I/O mode settings
      commit: 2bf5cc5b0729b92ff62d7acffee4390326af1189
[2/6] NFSD: Apply per-export I/O modes to READ and WRITE
      commit: fa2dde080831509bd6e607e38f0dcfc2a798dc09
[3/6] NFSD: Document per-export read_io= and write_io= options
      commit: 427ab11f19e8ac820ee78e2bf424b39cc9637648
[4/6] NFSD: Keep per-export statistics across export cache updates
      commit: 23bfabf9641a2a7960cb335c1b97bfe0c15fb523
[5/6] NFSD: Count the storage reads of each export's READs
      commit: 0855f12a01e2374bdd179027041a44a97062b7a7
[6/6] NFSD: Document how to choose an IO mode
      commit: 8ab1a1c7d05dff67eea8c186f929b5645a20897a

--
Chuck Lever
Technical Details
Message-ID: <179339654991.1228920.9483346450055055251.b4-ty@b4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353959-linux-kernel-netdev=dewy.ru
References: <20261029-export-iomode-v2-0-fe8ec6251a36@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353959-linux-kernel-netdev=dewy.ru
From: cel@kernel.org (Chuck Lever)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v2 0/6] nfsd: add new export options for controlling read/write iomode
Date: Fri, 30 Oct 2026 17:42:35 -0400
Organization: Usenet Network
Message-ID: <179339654991.1228920.9483346450055055251.b4-ty@b4>
References: <20261029-export-iomode-v2-0-fe8ec6251a36@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2319666"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+MvIjX/4gSoDzDXsurjK+vtK29E= sha256:Ir0HVCkweMwFXdHB24ZV/XeQWu0NuMHzkHXFoQe8MUA=
	sha1:M2JDeKrTQYLlVi2urGzu+1hE2cQ= sha256:csTkEyIX1nHfjTxp9JyCdzP9vERDd7tn/5vNFnmDiwU=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id A4754125CA7; Sat, 31 Oct 2026 00:46:35 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id QmxoqDpg2Znw;
	Sat, 31 Oct 2026 00:46:33 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353959-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 9859B125BBF; Sat, 31 Oct 2026 00:46:22 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id BE6312FD98; Fri, 30 Oct 2026 21:42:47 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793396567;
	b=KW/X9+F3VCMOPMb6+Pmi7WZSv89QMBoRTEoJgZCNKAynVEbo6I2u1c/33xCtTVeSWJqG
	 /53Obhj/9xtx8OL8hVMuOWGOOGEa0GRvqr/luu6vOkn+YZIkHnvSxsgZ50eITFkzxS5eO
	 ANA0h3KeL8BbLB1YMOtD4kqOYpb8fo4+uqN/gsqr+uMY+dfdYL+ddpyofmIn8hzYUBpPC
	 2/7tYC9nufKziWtAWp8phHm8lJmzrQoSf2PUXkYKri2jvoLgGI90yqRglkq4yeXf7vnsM
	 LwYShPG3MZgQrRz0jH/DM3G8yqTC1WMILXDZRnaaDGbpYyWZaCUBahNzn6wrcn/xknQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793396567;
	h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject:
	 Date:Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=G18y5GzZBVczGVERRlFFGsWmCmp9jImp2Rw6TnsgzKY=;
	b=yoz5EcWxuE+AyUVjSq/I8XJN7z38GRW8ba+S8OTp8ZcdxlMPxo9dNqHGzEXTY7yZ+Riu
	 k1nA2d7dfL+sVbknBPfDcXp8uAJkNvBwnFmztCCdz03+nB7tgT5aGQS+pe1P0+HP6YmTz
	 TGZuJUGcfqlV/OxU8Pi43rLoS9Q0672uX9mwALsNGk79NdoWQaiprhLnML1L0u0aIf6zc
	 DKuerOZP/J8tO3fBNWYYSqwm80iIY0nDz6ZV4zr9LjsU62unZPjK+Hj3nSDdBu9jSezxR
	 /TBS6bEwXTG0ErBbAu1cTv3VEf8oaz8L0Oob8JF9alvPtsfrnljAkAOM62CK/WwxLzA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YwoFG8YN;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 94CCB606A31C;
	Fri, 30 Oct 2026 21:42:47 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YwoFG8YN
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793396560;
	b=G2TZXh7DoqjwtCBsTH5NoY9lrJdnA826tDqucI2emclrkIl3tCDPLIg9AV9quhwtau7j
	 3jpOfmUlTHzBqG7Y0FL/dgLTifaST+tM+THK1Uyz8k2MjN/OqrcebW7m2jlJkdsK7Re0G
	 ERbTt8/xLTGSwv5brM0CHUNuYLt7JnroYo6GqGijeQ1MaKHjg9wJNxAYn9HwwjKsodqSg
	 zSCWmZLbJOC9t411p5KKxEn5GmIazqDLNcHtWYs6JCE7zT9+5S345dxZ5Tt0trquk6dKD
	 NDdgwmKRNf0lQqgkjMsV/MVKwuAzFr+KxCqjHsHYCYDsVLCZSgziSVvrvKz/f/BIIkw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793396560;
	h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=G18y5GzZBVczGVERRlFFGsWmCmp9jImp2Rw6TnsgzKY=;
	b=xBawJScAQDdS5pbMUo9RZJVOYdtVG7Acno0Zb2zUGBqW+MXo66975esYu29tn8qyhL9N
	 BKvl/L6/zc3VkWIVGp1Je+9sfePgJlywANBbJmruFPEgcRd/HMXVhTZmpzlg3fjrfB2VD
	 xB5jU3RvaEDIcg/zFbX44v3PhvLlviMxh7jmzA7VwuVkojjJS/HV5eWyy5F7aUfhdVUhg
	 rSWUOAfSf+MY+8Lsl61rR2zK5E04voTL/1dJchQywOpdLpdyOFYv33m2LMDLlHqO0Kh/Z
	 SR0FDXRegvcqfXS9T0A1uTpVf/xl/HTWAz1S0IKigHVvXgdzyaLXDyCSO+l/hKBMb3w==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YwoFG8YN;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AD8D606A320;
	Fri, 30 Oct 2026 21:42:40 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A58971F00A18;
	Fri, 30 Oct 2026 21:42:38 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793396560;
	bh=G18y5GzZBVczGVERRlFFGsWmCmp9jImp2Rw6TnsgzKY=;
	h=From:To:Cc:Subject:Date:In-Reply-To:References;
	b=YwoFG8YNo1u4rXhwwGhHMbRr8Ce9IMVSOWIL9GWGenaCI9vZ+F0be6DnAHO94DMPy
	 PErwryAr+HO7HbgUZh1ie8CEW0pRs9b3GT6e7sDNrpm9c89LIH/OvdbdpDcsdmpiPG
	 8DB6OhkxFmIZioA0syfmnYkr8QM703xRy6n46D7t2upZ4xpROEb6D7CswvpmvgJGeG
	 pnPs3xas6avmyB1WFQT97gkB8PP9cpOD5qMnEHnX9v/bBS4e2pRzPXpvhat1DBJ74/
	 ojDOE2idlKh3YV5ZvMdLAneK1mmj9wn11YHc7Xmh0aVzDAE8qv5sfiWdYIYQZ+YAn0
	 jKFaH/ixokKkQ==
X-Cc: Steve Dickson <steved@redhat.com>,
	netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-nfs@vger.kernel.org,
	linux-doc@vger.kernel.org
X-Mailer: git-send-email 2.54.0
X-In-Reply-To: <20261029-export-iomode-v2-0-fe8ec6251a36@kernel.org>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list