]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sunrpc: Add a sysfs file for adding a new xprt
authorAnna Schumaker <anna.schumaker@oracle.com>
Fri, 7 Feb 2025 20:42:24 +0000 (15:42 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 21 Mar 2025 13:34:53 +0000 (09:34 -0400)
commitdf210d9b0951d714c1668c511ca5c8ff38cf6916
treeac61904fbdf3e2a7acd3ab13f685546c5874aa67
parent88efd79c3f1db75b0f1edac71eebdf66e4835f0a
sunrpc: Add a sysfs file for adding a new xprt

Writing to this file will clone the 'main' xprt of an xprt_switch and
add it to be used as an additional connection.

--

Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
v3: Replace call to xprt_iter_get_xprt() with xprt_iter_get_next()
Link: https://lore.kernel.org/r/20250207204225.594002-5-anna@kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprtmultipath.h
net/sunrpc/sysfs.c
net/sunrpc/xprtmultipath.c