sunrpc: add a debugfs rpc_xprt directory with an info file in it
authorJeff Layton <jlayton@primarydata.com>
Wed, 26 Nov 2014 19:44:44 +0000 (14:44 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 27 Nov 2014 18:14:52 +0000 (13:14 -0500)
Add a new directory heirarchy under the debugfs sunrpc/ directory:

    sunrpc/
        rpc_xprt/
            <xprt id>/

Within that directory, we can put files that give info about the
xprts. We do have the (minor) problem that there is no succinct,
unique identifier for rpc_xprts. So we generate them synthetically
with a static atomic_t counter.

For now, this directory just holds an "info" file, but we may add
other files to it in the future.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
include/linux/sunrpc/debug.h
include/linux/sunrpc/xprt.h
net/sunrpc/debugfs.c
net/sunrpc/xprt.c

Simple merge
Simple merge
Simple merge
Simple merge