typedef struct {
struct list_head grp_link; /* chain on global group list */
int grp_ref; /* reference count */
+ int grp_userland; /* has userland nodes */
int grp_nnode; /* # of nodes */
char grp_name[LST_NAME_SIZE]; /* group name */
struct list_head *ses_ndl_hash; /* hash table of nodes */
spinlock_t ses_rpc_lock; /* serialize */
- int ses_rpc_pending; /* number of pending RPCs */
- struct list_head ses_rpc_list; /* list head of RPCs */
+ atomic_t ses_rpc_counter;/* # of initialized RPCs */
struct list_head ses_rpc_freelist; /* idle console rpc */
} lstcon_session_t; /*** session descriptor */
int timeout, struct list_head *result_up);
extern int lstcon_test_add(char *name, int type, int loop, int concur,
int dist, int span, char *src_name, char * dst_name,
- void *param, int paramlen, struct list_head *result_up);
+ void *param, int paramlen, int *retp, struct list_head *result_up);
#endif
#endif