Whamcloud - gitweb
LU-10467 ptlrpc: convert waiting in ptlrpc_hr_main() 96/37696/4
authorJames Simmons <jsimmons@infradead.org>
Tue, 25 Feb 2020 13:41:05 +0000 (08:41 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 1 Mar 2020 05:35:15 +0000 (05:35 +0000)
commit5891fbfad266623631e89d9f349722343592220d
treeb659bfbfe8d564605ca8415fd0e90fdbed046002
parentce429225a557a0529ca578fab528631cb3ea80eb
LU-10467 ptlrpc: convert waiting in ptlrpc_hr_main()

This is a basic conditional wait. Instead of using
l_wait_condition() use the linux standard wait_event_idle().

Change-Id: I5c81914de003468ac20b6c65f1b6bee2d4cf6891
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/37696
Reviewed-by: Neil Brown <neilb@suse.de>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
contrib/scripts/spelling.txt
lustre/ptlrpc/client.c
lustre/ptlrpc/niobuf.c
lustre/ptlrpc/service.c