[PATCH 12/16] staging: lustre: use wait_event_timeout in ptlrpcd()

2017-12-17 Thread NeilBrown
We can replace l_wait_event() with wait_event_noload_timeout() here providing we call the timeout function when wait_event_timeout() returns zero. Signed-off-by: NeilBrown --- drivers/staging/lustre/lustre/ptlrpc/client.c | 12

[PATCH 12/16] staging: lustre: use wait_event_timeout in ptlrpcd()

2017-12-17 Thread NeilBrown
We can replace l_wait_event() with wait_event_noload_timeout() here providing we call the timeout function when wait_event_timeout() returns zero. Signed-off-by: NeilBrown --- drivers/staging/lustre/lustre/ptlrpc/client.c | 12