mbox series

[0/4] SUNRPC: Various RCU fixes

Message ID 20231201211549.126941-1-anna@kernel.org (mailing list archive)
Headers show
Series SUNRPC: Various RCU fixes | expand

Message

Anna Schumaker Dec. 1, 2023, 9:15 p.m. UTC
From: Anna Schumaker <Anna.Schumaker@Netapp.com>

These are various fixes that I found after turning on CONFIG_LOCKDEP,
CONFIG_PROVE_RCU, and CONFIG_DEBUG_ATOMIC_SLEEP. I didn't hit any issues
when testing against a Linux server, but running against Netapp with pNFS
had several different lockdep & rcu related spews show up in my dmesg
(and that's just from running cthon, not even xfstests). These patches fix
all the issues that I found, and have a couple extra cleanups that I noticed
along the way.

Thoughts?
Anna


Anna Schumaker (4):
  SUNRPC: Clean up unused variable in rpc_xprt_probe_trunked()
  SUNRPC: Remove unused function rpc_clnt_xprt_switch_put()
  SUNRPC: Create a helper function for accessing the rpc_clnt's
    xprt_switch
  SUNRPC: Fix a suspicious RCU usage warning

 include/linux/sunrpc/clnt.h          |  1 -
 include/linux/sunrpc/xprtmultipath.h |  2 ++
 net/sunrpc/clnt.c                    | 47 +++++++++++++---------------
 net/sunrpc/xprtmultipath.c           | 14 ++++++++-
 4 files changed, 37 insertions(+), 27 deletions(-)