Also Bugzilla bug 23352, attachment 31479
This is already landed for 1.8.6.
Change-Id: I87db1f40401e1da9337eace5d3bd992bc64871a4
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/306
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Mikhail Pershin <tappro@whamcloud.com>
at->at_flags = flags;
cfs_spin_lock_init(&at->at_lock);
}
+extern unsigned int at_min;
static inline int at_get(struct adaptive_timeout *at) {
- return at->at_current;
+ return (at->at_current > at_min) ? at->at_current : at_min;
}
int at_measured(struct adaptive_timeout *at, unsigned int val);
int import_at_get_index(struct obd_import *imp, int portal);