NFSv4.1: Try to eliminate outliers when updating target_highest_slotid
[firefly-linux-kernel-4.4.55.git] / fs / nfs / nfs4session.h
index 7db739370164c6eb2df2a71e05aca944cb3ffd6f..04f834cab16c4ca7d322e6735b2f1ac6c5800132 100644 (file)
@@ -38,6 +38,8 @@ struct nfs4_slot_table {
                                                 * op for dynamic resizing */
        u32             target_highest_slotid;  /* Server max_slot target */
        u32             server_highest_slotid;  /* Server highest slotid */
+       s32             d_target_highest_slotid; /* Derivative */
+       s32             d2_target_highest_slotid; /* 2nd derivative */
        unsigned long   generation;             /* Generation counter for
                                                   target_highest_slotid */
        struct completion complete;