[PATCH 07/16] staging: lustre: simplify waiting in ldlm_completion_ast()

2017-12-17 Thread NeilBrown
If a signal-callback (lwi_on_signal) is set without lwi_allow_intr, as is the case in ldlm_completion_ast(), the behavior depends on the timeout set. If a timeout is set, then signals are ignored. If the timeout is reached, the timeout handler is called. If no timeout is set, then "fatal"

[PATCH 07/16] staging: lustre: simplify waiting in ldlm_completion_ast()

2017-12-17 Thread NeilBrown
If a signal-callback (lwi_on_signal) is set without lwi_allow_intr, as is the case in ldlm_completion_ast(), the behavior depends on the timeout set. If a timeout is set, then signals are ignored. If the timeout is reached, the timeout handler is called. If no timeout is set, then "fatal"