X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_net.h;h=039effae85b83d349d896ded527ff35def84a609;hp=64b58782d5f430c4e85efc43b02c8169314a1119;hb=ff0c89a73e141ce019ee2a94e5d01a8a37dd830a;hpb=12b6c0b993bca79091d035cbe4cf1805d8adcc47;ds=sidebyside diff --git a/lustre/include/lustre_net.h b/lustre/include/lustre_net.h index 64b5878..039effa 100644 --- a/lustre/include/lustre_net.h +++ b/lustre/include/lustre_net.h @@ -967,6 +967,7 @@ enum { SVC_SIGNAL = 1 << 5, }; +#define PTLRPC_THR_NAME_LEN 32 /** * Definition of server service thread structure */ @@ -998,6 +999,7 @@ struct ptlrpc_thread { struct ptlrpc_service_part *t_svcpt; cfs_waitq_t t_ctl_waitq; struct lu_env *t_env; + char t_name[PTLRPC_THR_NAME_LEN]; }; static inline int thread_is_init(struct ptlrpc_thread *thread) @@ -1668,11 +1670,6 @@ void ptlrpc_hr_fini(void); # define ptlrpc_hr_fini() do {} while(0) #endif -struct ptlrpc_svc_data { - char *name; - struct ptlrpc_service *svc; - struct ptlrpc_thread *thread; -}; /** @} */ /* ptlrpc/import.c */