linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] NFSD: Add support for session dynamic slot management
@ 2012-11-29  3:17 Trond Myklebust
  2012-11-29  3:17 ` [PATCH 1/4] NFSD: Convert the slot table to use a linked list Trond Myklebust
  0 siblings, 1 reply; 8+ messages in thread
From: Trond Myklebust @ 2012-11-29  3:17 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs

This patch series adds support for session dynamic slot management
in accordance with Section 2.10.6.1 of RFC5661.

It implements a very simple policy that is controlled by the function
nfsd4_sequence_adjust_slot_table(): If the client is matching the server
target_highest_slotid, then we increase the window size by 1/4. Otherwise
we try to shrink the window.

The window size is bounded from below by the negotiated session table size
for backward compatibility with clients that do not support dynamic slot
management.

Trond Myklebust (4):
  NFSD: Convert the slot table to use a linked list
  NFSD: Make DRC memory limits work with dynamic slot allocation
  NFSD: Add slot table support for target_highest_slotid and
    highest_slotid
  NFSD: Add support for dynamic slot changes

 fs/nfsd/nfs4state.c | 279 ++++++++++++++++++++++++++++++++++++++++------------
 fs/nfsd/nfs4xdr.c   |   7 +-
 fs/nfsd/nfsd.h      |   4 +-
 fs/nfsd/nfssvc.c    |   4 +-
 fs/nfsd/state.h     |  15 ++-
 fs/nfsd/xdr4.h      |   6 +-
 6 files changed, 240 insertions(+), 75 deletions(-)

-- 
1.7.11.7


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

end of thread, other threads:[~2012-12-07 13:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29  3:17 [PATCH 0/4] NFSD: Add support for session dynamic slot management Trond Myklebust
2012-11-29  3:17 ` [PATCH 1/4] NFSD: Convert the slot table to use a linked list Trond Myklebust
2012-11-29  3:17   ` [PATCH 2/4] NFSD: Make DRC memory limits work with dynamic slot allocation Trond Myklebust
2012-11-29  3:17     ` [PATCH 3/4] NFSD: Add slot table support for target_highest_slotid and highest_slotid Trond Myklebust
2012-11-29  3:17       ` [PATCH 4/4] NFSD: Add support for dynamic slot changes Trond Myklebust
2012-12-06 21:29         ` J. Bruce Fields
2012-12-06 23:20           ` Myklebust, Trond
2012-12-07 13:58             ` 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).