1. 09 Dec, 2014 13 commits
  2. 01 Dec, 2014 3 commits
  3. 27 Nov, 2014 2 commits
    • Jeff Layton's avatar
      sunrpc: add a debugfs rpc_xprt directory with an info file in it · 388f0c77
      Jeff Layton authored
      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: default avatarJeff Layton <jlayton@primarydata.com>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
      388f0c77
    • Jeff Layton's avatar
      sunrpc: add debugfs file for displaying client rpc_task queue · b4b9d2cc
      Jeff Layton authored
      It's possible to get a dump of the RPC task queue by writing a value to
      /proc/sys/sunrpc/rpc_debug. If you write any value to that file, you get
      a dump of the RPC client task list into the log buffer. This is a rather
      inconvenient interface however, and makes it hard to get immediate info
      about the task queue.
      
      Add a new directory hierarchy under debugfs:
      
          sunrpc/
              rpc_clnt/
                  <clientid>/
      
      Within each clientid directory we create a new "tasks" file that will
      dump info similar to what shows up in the log buffer, but with a few
      small differences -- we avoid printing raw kernel addresses in favor of
      symbolic names and the XID is also displayed.
      Signed-off-by: default avatarJeff Layton <jlayton@primarydata.com>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
      b4b9d2cc
  4. 26 Nov, 2014 2 commits
  5. 25 Nov, 2014 15 commits
  6. 24 Nov, 2014 5 commits