From: Benjamin Coddington <bcodding@redhat.com>
To: linux-nfs@vger.kernel.org
Cc: Anna.Schumaker@netapp.com, Olga.Kornievskaia@netapp.com
Subject: [PATCH 0/6] RFC: NFS sysfs mounts to rpc client structure
Date: Thu, 6 Apr 2023 10:09:58 -0400 [thread overview]
Message-ID: <cover.1680786859.git.bcodding@redhat.com> (raw)
Here's a bit of sysfs scaffolding that creates structure for each mount and
links that to the sunrpc transport objects. Having links between mounts and
rpc clients can help admins figure out which sunrpc objects are associated
with which mount.
Ultimately, I would like to flesh out the mount side of this interface with
knobs that allow an "nfs shutdown" and the ability to control various
optional features without having to continually add mount options. Even
though I don't have anything stable enough to share on that front, I'm
sharing these first few patches for criticism or collaboration.
Benjamin Coddington (6):
NFS: rename nfs_client_kset to nfs_kset
NFS: rename nfs_client_kobj to nfs_net_kobj
NFS: add superblock sysfs entries
NFS: Add sysfs links to sunrpc clients for nfs_clients
NFS: add a sysfs link to the lockd rpc_client
NFS: add a sysfs link to the acl rpc_client
fs/lockd/clntlock.c | 6 +++
fs/nfs/client.c | 21 ++++++++
fs/nfs/nfs3client.c | 4 ++
fs/nfs/nfs4client.c | 2 +
fs/nfs/super.c | 6 ++-
fs/nfs/sysfs.c | 98 ++++++++++++++++++++++++++++++++-----
fs/nfs/sysfs.h | 7 +++
include/linux/lockd/bind.h | 2 +
include/linux/nfs_fs_sb.h | 2 +
include/linux/sunrpc/clnt.h | 8 ++-
net/sunrpc/sysfs.h | 7 ---
11 files changed, 142 insertions(+), 21 deletions(-)
--
2.39.2
next reply other threads:[~2023-04-06 14:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-06 14:09 Benjamin Coddington [this message]
2023-04-06 14:09 ` [PATCH 1/6] NFS: rename nfs_client_kset to nfs_kset Benjamin Coddington
2023-04-06 14:10 ` [PATCH 2/6] NFS: rename nfs_client_kobj to nfs_net_kobj Benjamin Coddington
2023-04-06 22:48 ` kernel test robot
2023-04-06 14:10 ` [PATCH 3/6] NFS: add superblock sysfs entries Benjamin Coddington
2023-04-06 16:38 ` kernel test robot
2023-04-06 16:38 ` kernel test robot
2023-04-06 14:10 ` [PATCH 4/6] NFS: Add sysfs links to sunrpc clients for nfs_clients Benjamin Coddington
2023-04-06 14:10 ` [PATCH 5/6] NFS: add a sysfs link to the lockd rpc_client Benjamin Coddington
2023-04-06 14:10 ` [PATCH 6/6] NFS: add a sysfs link to the acl rpc_client Benjamin Coddington
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1680786859.git.bcodding@redhat.com \
--to=bcodding@redhat.com \
--cc=Anna.Schumaker@netapp.com \
--cc=Olga.Kornievskaia@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox