X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Fselftest%2Fconsole.h;h=02c76a89627e678e8de125a679ee17e8f8e195b0;hb=c66668387a11492ef95482add340321cb646c961;hp=641f9be59c7fb4afa7b8bed03b79efaac1346786;hpb=d92bd22523aa9bb1cdb91ded3d46fb180f68a93c;p=fs%2Flustre-release.git diff --git a/lnet/selftest/console.h b/lnet/selftest/console.h index 641f9be..02c76a8 100644 --- a/lnet/selftest/console.h +++ b/lnet/selftest/console.h @@ -39,10 +39,10 @@ #ifndef __LST_CONSOLE_H__ #define __LST_CONSOLE_H__ +#include #include #include -#include #include "selftest.h" #include "conrpc.h" @@ -52,7 +52,7 @@ struct lstcon_node { int nd_ref; /* reference count */ int nd_state; /* state of the node */ int nd_timeout; /* session timeout */ - cfs_time_t nd_stamp; /* timestamp of last replied RPC */ + ktime_t nd_stamp; /* last RPC reply timestamp */ struct lstcon_rpc nd_ping; /* ping rpc */ }; @@ -255,6 +255,8 @@ extern int lstcon_test_add(char *batch_name, int type, int loop, void *param, int paramlen, int *retp, struct list_head __user *result_up); +int lstcon_ioctl_entry(struct notifier_block *nb, + unsigned long cmd, void *vdata); int lstcon_console_init(void); int lstcon_console_fini(void);