From patchwork Wed Jan 8 21:36:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anna Schumaker X-Patchwork-Id: 13931555 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E6AE18D626 for ; Wed, 8 Jan 2025 21:36:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736372194; cv=none; b=NXD+VnPAryZq3CmghUITqJDilvc7ycE5hteuX2vGoTtrmlxfX/mSzMDKHG9yC9lS+qz5PbkI+njq8DC/088mo0n/WkWPBSXrMNgvlpH1YGKaRK9m/xbGQ9yeoYYp9nkeU749Btdpt/Xee2uR3j3uh77eovFQ++FQNn4sxSbd2ZI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736372194; c=relaxed/simple; bh=2oVODxU4IVX/7SQKT06F+g7ci7KysQEKcel8zfLudHo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ViZNxwAYGPK+DBQhCPFerGcCqLEipbsvcNEQY3/4tJmrvRp2j/0fwiXcHrHrsn/iE+sNCqXllqElyUfG9jaGsmFRF+evDAhsNC7Aysuv2mVyE7BHZH1lGltBw6btLR4PWAPlTAa2tqGVrJXMZkwUnHDBvvrGk405o9I6e4hBl/0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dKxwvWnF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dKxwvWnF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37CE1C4CEDF; Wed, 8 Jan 2025 21:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736372193; bh=2oVODxU4IVX/7SQKT06F+g7ci7KysQEKcel8zfLudHo=; h=From:To:Cc:Subject:Date:From; b=dKxwvWnFjWTZy8HXbDSIq3m9TUO9KZdfP85rh4bhGbpgtQ8yb5TZCnn78M9IUVJre g9FwAKr1wntbukPa4hTzAl7aikrjOMniM8tTMP7oYQWOhVvL6hhRrdH93QBwoLU9XQ NPEzUhZOU3zwVywKdHw9D756+sYMHNwRrXdKsuzLziFieOjt+5sjG6EP6Sk9KN/5o4 PjQP3tVP2AbEXMjvF9KDnFCUE+vYGtxuuPvi3PAZZ3Ct1h98kmFH+tNPbK77SqpRFa xIavhJXL4wG7xBg+orUhpL+SFHKLKdGjvg+3z5Soz9vqJ4jcXOeFk4tSpQsnOy+TDC 4lk4SPPe65l6g== From: Anna Schumaker To: linux-nfs@vger.kernel.org, trond.myklebust@hammerspace.com Cc: anna@kernel.org Subject: [PATCH 0/3] NFS & SUNRPC Sysfs Improvements Date: Wed, 8 Jan 2025 16:36:29 -0500 Message-ID: <20250108213632.260498-1-anna@kernel.org> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Anna Schumaker These are a few improvements that have been in the back of my mind for a while, and I finally had the chance to work on. The first patch adds a (read-only) file to check the server's implementation id. The remaining two patches are sunrpc side to display the xprtsec in use for each transport and to add a new transport to the xprt switch. Thoughts? Anna Anna Schumaker (3): NFS: Add implid to sysfs sunrpc: Add a sysfs attr for xprtsec sunrpc: Add a sysfs file for adding a new xprt fs/nfs/sysfs.c | 79 ++++++++++++++++++++++++++ include/linux/sunrpc/xprtmultipath.h | 1 + net/sunrpc/sysfs.c | 83 ++++++++++++++++++++++++++++ net/sunrpc/xprtmultipath.c | 21 +++++++ 4 files changed, 184 insertions(+)