08 Jan, 2016

1 commit

  • * bugfixes:
    SUNRPC: Fixup socket wait for memory
    SUNRPC: Fix a missing break in rpc_anyaddr()
    pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()
    NFS: Fix attribute cache revalidation
    NFS: Ensure we revalidate attributes before using execute_ok()
    NFS: Flush reclaim writes using FLUSH_COND_STABLE
    NFS: Background flush should not be low priority
    NFSv4.1/pnfs: Fixup an lo->plh_block_lgets imbalance in layoutreturn
    NFSv4: Don't perform cached access checks before we've OPENed the file
    NFS: Allow the combination pNFS and labeled NFS
    NFS42: handle layoutstats stateid error
    nfs: Fix race in __update_open_stateid()
    nfs: fix missing assignment in nfs4_sequence_done tracepoint

    Trond Myklebust
     

29 Dec, 2015

1 commit


28 Dec, 2015

5 commits

  • Instead of displaying a layout segment pointer in these tracepoints,
    let's use the layout stateid, now that Olga gave us a set of tools for
    displaying them.

    Signed-off-by: Trond Myklebust

    Trond Myklebust
     
  • pnfs_update_layout is really the "nexus" of layout handling. If it
    returns NULL then we end up going through the MDS. This patch adds
    some tracepoints to that function that allow us to determine the
    cause when we end up going through the MDS unexpectedly.

    Signed-off-by: Jeff Layton
    Signed-off-by: Trond Myklebust

    Jeff Layton
     
  • Signed-off-by: Olga Kornievskaia
    Signed-off-by: Trond Myklebust

    Olga Kornievskaia
     
  • Operations to which stateid information is added:
    close, delegreturn, open, read, setattr, layoutget, layoutcommit, test_stateid,
    write, lock, locku, lockt

    Format is "stateid=:", also "openstateid=",
    "layoutstateid=", and "lockstateid=" for open_file, layoutget, set_lock
    tracepoints.

    New function is added to internal.h, nfs_stateid_hash(), to compute the hash

    trace_nfs4_setattr() is moved from nfs4_do_setattr() to _nfs4_do_setattr()
    to get access to stateid.

    trace_nfs4_setattr and trace_nfs4_delegreturn are changed from INODE_EVENT
    to new event type, INODE_STATEID_EVENT which is same as INODE_EVENT but adds
    stateid information

    for locking tracepoints, moved trace_nfs4_set_lock() into _nfs4_do_setlk()
    to get access to stateid information, and removed trace_nfs4_lock_reclaim(),
    trace_nfs4_lock_expired() as they call into _nfs4_do_setlk() and both were
    previously same LOCK_EVENT type.

    Signed-off-by: Olga Kornievskaia
    Signed-off-by: Trond Myklebust

    Olga Kornievskaia
     
  • status_flags not set

    Signed-off-by: Andrew Elble
    Signed-off-by: Trond Myklebust

    Andrew Elble
     

07 Oct, 2015

1 commit

  • Running xfstest generic/013 with the tracepoint nfs:nfs4_open_file
    enabled produces a NULL-pointer dereference when calculating fileid and
    filehandle of the opened file. Fix this by checking if state is NULL
    before trying to use the inode pointer.

    Reported-by: Olga Kornievskaia
    Signed-off-by: Anna Schumaker
    Signed-off-by: Trond Myklebust

    Anna Schumaker
     

26 Aug, 2015

3 commits


16 Apr, 2015

1 commit


25 Jun, 2014

1 commit

  • struct nfs_pgio_data only exists as a member of nfs_pgio_header, but is
    passed around everywhere, because there used to be multiple _data structs
    per _header. Many of these functions then use the _data to find a pointer
    to the _header. This patch cleans this up by merging the nfs_pgio_data
    structure into nfs_pgio_header and passing nfs_pgio_header around instead.

    Reviewed-by: Christoph Hellwig
    Signed-off-by: Weston Andros Adamson
    Signed-off-by: Trond Myklebust

    Weston Andros Adamson
     

29 May, 2014

1 commit


22 Aug, 2013

13 commits