linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] NFSD: add FREE_STATEID and TEST_STATEID operations
@ 2011-05-20 20:12 bjschuma
  2011-05-20 20:12 ` [PATCH 1/2] NFSD: added FREE_STATEID operation bjschuma
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: bjschuma @ 2011-05-20 20:12 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs, Bryan Schumaker

From: Bryan Schumaker <bjschuma@netapp.com>

These patches add FREE_STATEID and TEST_STATEID to the NFS server.  I
appreciate any comments, especially if there is a better way of doing things.

v2:
- FREE_STATEID
  - Free open, lock, and delegation state ids correctly
  - Use the check_for_locks() function to check for locks

- TEST_STATEID
  - Remove openmode check
  - Sanity check on size of stateid list
  - Delay decoding stateid list until encoding the reply

v3:
- FREE_STATEID
  - Open stateids and delegations are never freeable (return nfserr_locks_held)

- TEST_STATEID
  - Remove unused arguments from a function call
  - Store and use the HAS_SESSION flag for validating stateids

Thanks!

- Bryan

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0/2] NFSD: add FREE_STATEID and TEST_STATEID operations
@ 2011-05-06 18:57 bjschuma
  2011-05-06 18:57 ` [PATCH 1/2] NFSD: added FREE_STATEID operation bjschuma
  0 siblings, 1 reply; 18+ messages in thread
From: bjschuma @ 2011-05-06 18:57 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs, Bryan Schumaker

From: Bryan Schumaker <bjschuma@netapp.com>

These patches add FREE_STATEID and TEST_STATEID to the NFS server.  I
appreciate any comments, so there might be a better way of doing things.

Thanks!

- Bryan

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

end of thread, other threads:[~2011-07-12 12:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-20 20:12 [PATCH v2 0/2] NFSD: add FREE_STATEID and TEST_STATEID operations bjschuma
2011-05-20 20:12 ` [PATCH 1/2] NFSD: added FREE_STATEID operation bjschuma
2011-05-20 20:16   ` Bryan Schumaker
2011-05-25 15:05     ` J. Bruce Fields
2011-05-31 14:52       ` Bryan Schumaker
2011-05-20 20:13 ` [PATCH 2/2] NFSD: Added TEST_STATEID operation bjschuma
2011-06-29 19:49   ` Bryan Schumaker
2011-06-29 19:54     ` J. Bruce Fields
2011-06-29 20:34       ` Bryan Schumaker
2011-06-29 20:40         ` J. Bruce Fields
2011-07-12 10:59           ` J. Bruce Fields
2011-07-12 12:40             ` Bryan Schumaker
2011-07-12 12:42               ` J. Bruce Fields
2011-05-20 20:13 ` [PATCH v2 0/2] NFSD: add FREE_STATEID and TEST_STATEID operations Bryan Schumaker
  -- strict thread matches above, loose matches on Subject: below --
2011-05-06 18:57 [PATCH " bjschuma
2011-05-06 18:57 ` [PATCH 1/2] NFSD: added FREE_STATEID operation bjschuma
2011-05-10  0:36   ` J. Bruce Fields
2011-05-11 14:41     ` Bryan Schumaker
2011-05-13 21:36       ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).