void target_cancel_recovery_timer(struct obd_device *obd);
#define OBD_RECOVERY_TIMEOUT (obd_timeout * 5 / 2) /* *waves hands* */
+#define OBD_RECOVERY_MAX_TIME (obd_timeout * 18) /* b13079 */
void target_start_recovery_timer(struct obd_device *obd);
int target_start_recovery_thread(struct obd_device *obd,
svc_handler_t handler);
#endif /* __KERNEL__ */
+
#define l_wait_event(wq, condition, info) \
({ \
int __ret; \
__ret; \
})
+#define cfs_wait_event(wq, condition) \
+({ \
+ int __ret; \
+ \
+ struct l_wait_info lwi = { 0 }; \
+ l_wait_event(wq, condition, &lwi); \
+ __ret; \
+})
+
#ifdef __KERNEL__
#define LIBLUSTRE_CLIENT (0)
#else