linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Version 7] NFSv4.1 Prepare for dynamic session slots
@ 2012-02-12 17:52 andros
  2012-02-12 17:52 ` [PATCH Version 7 1/3] NFS4.1 clean up nfs4_alloc_session andros
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: andros @ 2012-02-12 17:52 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs

Dynamic session slot code will respond to the server changing the
target_highest_slotid returned in the SEQUENCE operation. To respond to
a changing number of session slots, the static array implementation is
changed to an hlist hashed on slotid with 32 hash buckets.

These patches have been tested against the unchanged static array implementation
with one change: I used only 8 hash buckets so that the hlist would have more
than one entry per hash bucket.

Without the third patch which assigns the slot to be freed to a waiting task
if the slot_table_waitq is non-empy, the hlist implementation does not perform
as well as the static array.

With the third patch, the hlist impementation performs as well as the static
array version.

-->Andy


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

end of thread, other threads:[~2012-02-13 13:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-12 17:52 [PATCH Version 7] NFSv4.1 Prepare for dynamic session slots andros
2012-02-12 17:52 ` [PATCH Version 7 1/3] NFS4.1 clean up nfs4_alloc_session andros
2012-02-12 17:52 ` [PATCH Version 7 2/3] NFSv4.1 prepare for dynamic session slots andros
2012-02-13 13:49   ` Bryan Schumaker
2012-02-12 17:52 ` [PATCH Version 7 3/3] NFSv4.1 avoid freeing slot when tasks are waiting andros

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).