NFSv4.1: Try to eliminate outliers when updating target_highest_slotid
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 2 Dec 2012 18:54:59 +0000 (13:54 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Dec 2012 23:30:53 +0000 (00:30 +0100)
commit1fa8064429d0acbf5bbf3c8a53f65679fdacc75e
tree86e9c0420815d6029c47d836bf3d7a4c93098c3c
parentc05eecf636101dd4347b2d8fa457626bf0088e0a
NFSv4.1: Try to eliminate outliers when updating target_highest_slotid

Look for sudden changes in the first and second derivatives in order
to eliminate outlier changes to target_highest_slotid (which are
due to out-of-order RPC replies).

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4session.c
fs/nfs/nfs4session.h