Whamcloud - gitweb
LU-14352 various: only use wake_up_all() on exclusive waitqs
[fs/lustre-release.git] / lustre / obdclass / cl_io.c
index 84f2109..d9e0516 100644 (file)
@@ -1281,7 +1281,7 @@ void cl_sync_io_note(const struct lu_env *env, struct cl_sync_io *anchor,
                 * to immediately reclaim anchor when cl_sync_io_wait()
                 * completes.
                 */
-               wake_up_all_locked(&anchor->csi_waitq);
+               wake_up_locked(&anchor->csi_waitq);
                if (end_io)
                        end_io(env, anchor);
                if (anchor->csi_aio)