[PATCH 05/16] staging: lustre: introduce and use l_wait_event_abortable()

2017-12-17 Thread NeilBrown
lustre sometimes wants to wait for an event, but abort if one of a specific list of signals arrives. This is a little bit like wait_event_killable(), except that the signals are identified a different way. So introduce l_wait_event_abortable() which provides this functionality. Having separate

[PATCH 05/16] staging: lustre: introduce and use l_wait_event_abortable()

2017-12-17 Thread NeilBrown
lustre sometimes wants to wait for an event, but abort if one of a specific list of signals arrives. This is a little bit like wait_event_killable(), except that the signals are identified a different way. So introduce l_wait_event_abortable() which provides this functionality. Having separate