X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fportals%2Fknals%2Fsocknal%2Fsocknal.h;h=bd3c1fba1e525698d00d425b4cdd02e39899442d;hb=090c677210ee2946d99c71412e4ff762bb300f4f;hp=2767c41311ca9210a5eaf097cf33a979e10b6be1;hpb=f6594c21c4101ad0115620240a838715e3096d36;p=fs%2Flustre-release.git diff --git a/lustre/portals/knals/socknal/socknal.h b/lustre/portals/knals/socknal/socknal.h index 2767c41..bd3c1fb 100644 --- a/lustre/portals/knals/socknal/socknal.h +++ b/lustre/portals/knals/socknal/socknal.h @@ -44,6 +44,7 @@ #include #include +#include #include #include @@ -59,6 +60,8 @@ #define DEBUG_SUBSYSTEM S_SOCKNAL #include +#include +#include #include #include #include @@ -155,6 +158,7 @@ typedef struct { nal_cb_t *ksnd_nal_cb; spinlock_t ksnd_nal_cb_lock; /* lib cli/sti lock */ + wait_queue_head_t ksnd_yield_waitq; /* where yield waits */ atomic_t ksnd_nthreads; /* # live threads */ int ksnd_shuttingdown; /* tell threads to exit */