Whamcloud - gitweb
LU-1346 libcfs: cleanup waitq related primitives
[fs/lustre-release.git] / lustre / mgs / mgs_internal.h
index 06bcc99..514dc23 100644 (file)
@@ -143,12 +143,12 @@ struct fs_db {
         /* Target NIDs Table */
         struct mgs_nidtbl    fsdb_nidtbl;
 
-        /* async thread to notify clients */
-       struct mgs_device   *fsdb_mgs;
-        cfs_waitq_t          fsdb_notify_waitq;
-       struct completion       fsdb_notify_comp;
-        cfs_time_t           fsdb_notify_start;
-        cfs_atomic_t         fsdb_notify_phase;
+       /* async thread to notify clients */
+       struct mgs_device    *fsdb_mgs;
+       wait_queue_head_t    fsdb_notify_waitq;
+       struct completion    fsdb_notify_comp;
+       cfs_time_t           fsdb_notify_start;
+       cfs_atomic_t         fsdb_notify_phase;
        volatile unsigned int fsdb_notify_async:1,
                              fsdb_notify_stop:1;
         /* statistic data */