[lustre-devel] [PATCH 0/2] Add new wait_event macros to support lustre

NeilBrown neilb at suse.com
Thu Dec 21 19:11:03 PST 2017


Lustre has its own l_wait_event() macro to support waiting.
Some uses can be converted to current wait_event macros, but others
cannot.

Particularly it needs to be able to wait in TASK_IDLE state, and needs
exclusive waiters to be placed at the head of the queue.
These two patches add required functionalty to wait.h so that
lustre can be fully moved away from l_wait_event()

Thanks,
NeilBrown

---

NeilBrown (2):
      sched/wait: add wait_event_idle() functions.
      sched/wait: add wait_event_idle_exclusive_lifo()


 include/linux/wait.h |  170 +++++++++++++++++++++++++++++++++++++++++++++++++-
 kernel/sched/wait.c  |    3 +
 2 files changed, 167 insertions(+), 6 deletions(-)

--
Signature



More information about the lustre-devel mailing list