SUNRPC: dynamically load RPC transport modules on-demand
authorTom Talpey <tmtalpey@gmail.com>
Wed, 11 Mar 2009 18:37:56 +0000 (14:37 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:37:56 +0000 (14:37 -0400)
commit441e3e242903f9b190d5764bed73edb58f977413
tree3898c80feadee3cdeb3c99cb7d62861127f1b4ef
parentb38ab40ad58c1fc43ea590d6342f6a6763ac8fb6
SUNRPC: dynamically load RPC transport modules on-demand

Provide an api to attempt to load any necessary kernel RPC
client transport module automatically. By convention, the
desired module name is "xprt"+"transport name". For example,
when NFS mounting with "-o proto=rdma", attempt to load the
"xprtrdma" module.

Signed-off-by: Tom Talpey <tmtalpey@gmail.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c