From: Tigran Mkrtchyan <kofemann@xxxxxxxxx> Yet another update (v5) of current stateid handling re-based to Benny's git branch pnfs-all-latest ( to include PNFS operations ) Includes a patch from Bruce f32f3c2d3f09a586349ca9180885dc8741290fd9 I have tested: OPEN+READ+CLOSE OPEN+WRITE+CLOSE OPEN+LOCK+WRITE+LOCKU+CLOSE OPEN+PUTROOTFH+CLOSE implemented but not tested OPEN+LAYOUTGET Tigran. Tigran Mkrtchyan (8): nfsd4: initialize special stateid's at compile time nfsd41: handle current stateid in open and close nfsd41: handle current stateid on lock and locku nfsd41: consume current stateid on read and write nfsd41: mark PUTFH, PUTPUBFH and PUTROOTFH to clear current stateid nfsd41: save and restore current stateid with current fh nfsd41: mark LOOKUP, LOOKUPP and CREATE to invalidate current stateid nfsv41: handle current stateid on LAYOUTGET fs/nfsd/current_stateid.h | 23 +++++++++++ fs/nfsd/nfs4proc.c | 53 ++++++++++++++++++++----- fs/nfsd/nfs4state.c | 95 ++++++++++++++++++++++++++++++++++++++++++-- fs/nfsd/xdr4.h | 2 + 4 files changed, 158 insertions(+), 15 deletions(-) create mode 100644 fs/nfsd/current_stateid.h -- 1.7.7.5 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html