]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: lustre: use explicit poll loop in ptlrpc_service_unlink_rqbd
authorNeilBrown <neilb@suse.com>
Mon, 12 Feb 2018 23:47:59 +0000 (10:47 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 14:19:11 +0000 (15:19 +0100)
commit0a0e5afcb21b3361f0000888ff46fda17c36563e
treebdca4e862b706841b4fba1c46f09e2bde25e265c
parentfdeb5f9a515e91f5908f46d56ba3d4ed76eb041e
staging: lustre: use explicit poll loop in ptlrpc_service_unlink_rqbd

Rather an using l_wait_event(), use wait_event_idle_timeout()
with an explicit loop so it is easier to see what is happening.

Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/service.c