All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATH v7 00/10] handle curruent stateid
@ 2012-01-22 18:45 Tigran Mkrtchyan
  2012-01-22 18:46 ` [PATH v7 01/10] nfsd4: initialize current stateid at compile time Tigran Mkrtchyan
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Tigran Mkrtchyan @ 2012-01-22 18:45 UTC (permalink / raw)
  To: linux-nfs, bfields; +Cc: Tigran Mkrtchyan

From: Tigran Mkrtchyan <kofemann@gmail.com>

The same as v6, expect that the last patch changes current_stateid 
in compoind from reference to a value. As patches have to be squashed
anyway this aproach is simple that re-write all.

This is ready-to-go patch set. Rebased to Bruce's nfsd-next.

Implemented for:

 OPEN
 OPENDOWNGRADE
 CLOSE
 LOCK
 LOCKU
 DELEGRETURN
 FREE_STATEID
 SETATTR
 READ
 WRITE
 SAVEFH
 RESTOREFH
 PUTFH
 PUTROOTFH
 PUTPUBFH
 LOOKUP
 CREATE


Coresponding pynfs test already submited.

Tigran.

Tigran Mkrtchyan (10):
  nfsd4: initialize current stateid 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
  nfsd41: handle current stateid in SETATTR and FREE_STATEID
  nfsd41: consume current stateid on DELEGRETURN and OPENDOWNGRADE
  nfsd41: use current stateid by value

 fs/nfsd/current_stateid.h |   28 +++++++++++
 fs/nfsd/nfs4proc.c        |   61 +++++++++++++++++++++----
 fs/nfsd/nfs4state.c       |  110 ++++++++++++++++++++++++++++++++++++++++++++-
 fs/nfsd/xdr4.h            |    4 ++
 4 files changed, 192 insertions(+), 11 deletions(-)
 create mode 100644 fs/nfsd/current_stateid.h

-- 
1.7.7.5


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-01-23 22:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-22 18:45 [PATH v7 00/10] handle curruent stateid Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 01/10] nfsd4: initialize current stateid at compile time Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 02/10] nfsd41: handle current stateid in open and close Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 03/10] nfsd41: handle current stateid on lock and locku Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 04/10] nfsd41: consume current stateid on read and write Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 05/10] nfsd41: mark PUTFH, PUTPUBFH and PUTROOTFH to clear current stateid Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 06/10] nfsd41: save and restore current stateid with current fh Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 07/10] nfsd41: mark LOOKUP, LOOKUPP and CREATE to invalidate current stateid Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 08/10] nfsd41: handle current stateid in SETATTR and FREE_STATEID Tigran Mkrtchyan
2012-01-22 18:46 ` [PATH v7 09/10] nfsd41: consume current stateid on DELEGRETURN and OPENDOWNGRADE Tigran Mkrtchyan
2012-01-23 21:12 ` [PATH v7 00/10] handle curruent stateid J. Bruce Fields
2012-01-23 22:23   ` Tigran Mkrtchyan
2012-01-23 22:27     ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.