diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-29 17:27:47 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-06 00:30:52 +0100 |
commit | b75ad4cda5a6cd3431b1c65c2739c5ebd2c4b9da (patch) | |
tree | 6ba6dd80fc8e118067ca70bd67345864835fe98a /fs/nfs/nfs4session.h | |
parent | 62ae082d883d167cdaa7895cf2972d85e178228a (diff) | |
download | talos-obmc-linux-b75ad4cda5a6cd3431b1c65c2739c5ebd2c4b9da.tar.gz talos-obmc-linux-b75ad4cda5a6cd3431b1c65c2739c5ebd2c4b9da.zip |
NFSv4.1: Ensure smooth handover of slots from one task to the next waiting
Currently, we see a lot of bouncing for the value of highest_used_slotid
due to the fact that slots are getting freed, instead of getting instantly
transmitted to the next waiting task.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4session.h')
-rw-r--r-- | fs/nfs/nfs4session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h index bdd14a60722b..7db739370164 100644 --- a/fs/nfs/nfs4session.h +++ b/fs/nfs/nfs4session.h @@ -94,6 +94,10 @@ static inline bool nfs4_session_draining(struct nfs4_session *session) return !!test_bit(NFS4_SESSION_DRAINING, &session->session_state); } +bool nfs41_wake_and_assign_slot(struct nfs4_slot_table *tbl, + struct nfs4_slot *slot); +void nfs41_wake_slot_table(struct nfs4_slot_table *tbl); + /* * Determine if sessions are in use. */ |