diff options
| author | NeilBrown <[email protected]> | 2018-02-13 10:47:59 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-02-16 15:19:11 +0100 |
| commit | c7621ba215b11ca8976d38093768b8630df3d0d6 (patch) | |
| tree | b3fe19ce31bfc9c6f333d663d5e3c8a64f71a2a1 /tools/perf/scripts/python | |
| parent | 1307a0fdf9f8d56c7b1a5a5f7de8e0a2ec193e10 (diff) | |
staging: lustre: use wait_event_idle_timeout in ptlrpcd()
We can replace l_wait_event() with
wait_event_idle_timeout() here providing we call the
timeout function when wait_event_idle_timeout() returns zero.
As ptlrpc_expired_set() returns 1, the l_wait_event() aborts of the
first timeout.
Reviewed-by: James Simmons <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Reviewed-by: Patrick Farrell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions