23 Jan, 2016

1 commit

  • parallel to mutex_{lock,unlock,trylock,is_locked,lock_nested},
    inode_foo(inode) being mutex_foo(&inode->i_mutex).

    Please, use those for access to ->i_mutex; over the coming cycle
    ->i_mutex will become rwsem, with ->lookup() done with it held
    only shared.

    Signed-off-by: Al Viro

    Al Viro
     

15 Jan, 2016

1 commit

  • Add some new tracepoints in the nfsd read/write codepaths. The idea
    is that this will give us the ability to measure how long each phase of
    a read or write operation takes.

    Signed-off-by: Jeff Layton
    Signed-off-by: J. Bruce Fields

    Jeff Layton
     

13 Oct, 2015

2 commits


16 Apr, 2015

1 commit


13 Feb, 2015

1 commit

  • We're supposed to be testing that the fh_fsid's match but because the
    parenthesis are in the wrong place, then we only check the first
    byte.

    Fixes: 9558f2500a20 ('nfsd: add fh_fsid_match helper')
    Signed-off-by: Dan Carpenter
    Signed-off-by: J. Bruce Fields

    Dan Carpenter
     

03 Feb, 2015

2 commits


23 Jun, 2014

1 commit


07 May, 2014

1 commit

  • The only real user of this header is fs/nfsd/nfsfh.h, so merge the
    two. Various lockѕ source files used it to indirectly get other
    sunrpc or nfs headers, so fix those up.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: J. Bruce Fields

    Christoph Hellwig
     

30 Mar, 2014

1 commit

  • Testing NFS4.0 by pynfs, I got some messeages as,
    "nfsd: inode locked twice during operation."

    When one compound RPC contains two or more ops that locks
    the filehandle,the second op will cause the message.

    As two SETATTR ops, after the first SETATTR, nfsd will not call
    fh_put() to release current filehandle, it means filehandle have
    unlocked with fh_post_saved = 1.
    The second SETATTR find fh_post_saved = 1, and printk the message.

    v2: introduce helper fh_clear_wcc().

    Signed-off-by: Kinglong Mee
    Signed-off-by: J. Bruce Fields

    Kinglong Mee
     

25 Oct, 2013

1 commit


04 Jan, 2012

1 commit


14 Oct, 2010

1 commit

  • As of commit 43a9aa64a2f4330a9cb59aaf5c5636566bce067c "NFSD:
    Fill in WCC data for REMOVE, RMDIR, MKNOD, and MKDIR", we sometimes call
    fh_unlock on a filehandle that isn't fully initialized.

    We should fix up the callers, but as a quick fix it is also sufficient
    just to remove this assertion.

    Reported-by: Marius Tolzmann
    Cc: Chuck Lever
    Signed-off-by: J. Bruce Fields

    J. Bruce Fields
     

16 Dec, 2009

1 commit