b=12459
i=adilger,tianzy
i=scjody
Severity : normal
Bugzilla : 12459
Description: Client eviction due to failover config
Details : after a connection loss, the lustre client should attempt to
reconnect to the last active server first before trying the
other potential connections.
#define cfs_time_add_64 cfs_time_add
#define cfs_time_shift_64 cfs_time_shift
#define cfs_time_before_64 cfs_time_before
+#define cfs_time_beforeq_64 cfs_time_beforeq
/*
* One jiffy (in nanoseconds)
return (__s64)t2 - (__s64)t1 > 0;
}
+static inline int cfs_time_beforeq_64(__u64 t1, __u64 t2)
+{
+ return (__s64)t2 - (__s64)t1 >= 0;
+}
+
#else
#define cfs_time_current_64 cfs_time_current
#define cfs_time_add_64 cfs_time_add
#define cfs_time_shift_64 cfs_time_shift
#define cfs_time_before_64 cfs_time_before
-
+#define cfs_time_beforeq_64 cfs_time_beforeq
#endif
/*
#define cfs_time_add_64 cfs_time_add
#define cfs_time_shift_64 cfs_time_shift
#define cfs_time_before_64 cfs_time_before
+#define cfs_time_beforeq_64 cfs_time_beforeq
#define CFS_TIME_T "%lu"
#define CFS_DURATION_T "%ld"
#define cfs_time_add_64 cfs_time_add
#define cfs_time_shift_64 cfs_time_shift
#define cfs_time_before_64 cfs_time_before
+#define cfs_time_beforeq_64 cfs_time_beforeq
/*
* One jiffy