17 Feb, 2012

1 commit

  • With static RPC slots, the xprt backlog queue stats were useful in showing
    when the transport (TCP) was starved by lack of RPC slots. The new dynamic
    RPC slot code, commit d9ba131d8f58c0d2ff5029e7002ab43f913b36f9, always
    provides an RPC slot and so only uses the xprt backlog queue when the
    tcp_max_slot_table_entries value has been hit or when an allocation error
    occurs. All requests are now placed on the xprt sending or pending queue which
    need to be monitored for debugging.

    The max_slot stat shows the maximum number of dynamic RPC slots reached which is
    useful when debugging performance issues.

    Add the new fields at the end of the mountstats xprt stanza so that mountstats
    outputs the previous correct values and ignores the new fields. Bump
    NFS_IOSTATS_VERS.

    Signed-off-by: Andy Adamson
    Signed-off-by: Trond Myklebust

    Andy Adamson
     

12 Mar, 2011

2 commits

  • Signed-off-by: Andy Adamson
    Signed-off-by: Boaz Harrosh
    Signed-off-by: Dean Hildebrand
    Signed-off-by: Fred Isaman
    Signed-off-by: J. Bruce Fields
    Signed-off-by: Mike Sager
    Signed-off-by: Ricardo Labiaga
    Signed-off-by: Tao Guo
    Signed-off-by: Andy Adamson
    Signed-off-by: Benny Halevy
    Signed-off-by: Fred Isaman
    Signed-off-by: Trond Myklebust

    Andy Adamson
     
  • Separate the rpc run portion of nfs_read_rpcsetup into a new function
    nfs_initiate_read that is called for normal NFS I/O.

    Add a pNFS read_pagelist function that is called instead of nfs_intitate_read
    for pNFS reads.

    Signed-off-by: Andy Adamson
    Signed-off-by: Boaz Harrosh
    Signed-off-by: Dean Hildebrand
    Signed-off-by: Fred Isaman
    Signed-off-by: Fred Isaman
    Signed-off-by: Mike Sager
    Signed-off-by: Mingyang Guo
    Signed-off-by: Ricardo Labiaga
    Signed-off-by: Tao Guo
    Signed-off-by: Andy Adamson
    Signed-off-by: Benny Halevy
    Signed-off-by: Trond Myklebust

    Andy Adamson
     

03 Apr, 2009

1 commit

  • Add some new NFS I/O counters for FS-Cache doing things for NFS. A new line is
    emitted into /proc/pid/mountstats if caching is enabled that looks like:

    fsc:

    Where is the number of pages read successfully from the cache, is
    the number of failed page reads against the cache, is the number of
    successful page writes to the cache, is the number of failed page writes
    to the cache, and is the number of NFS pages that have been disconnected
    from the cache.

    Signed-off-by: David Howells
    Acked-by: Steve Dickson
    Acked-by: Trond Myklebust
    Acked-by: Al Viro
    Tested-by: Daire Byrne

    David Howells
     

10 Jul, 2008

1 commit

  • The fs/nfs/iostat.h header has definitions that were designed to be exposed
    to user space. Move these definitions under include/linux so user space can
    use the definitions in applications that read /proc/self/mountstats.

    Also address a handful of coding style issues called out by checkpatch.pl in
    fs/nfs/iostat.h.

    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever