[PATCH v2 08/29] staging/lustre/ptlrpc: missing wakeup for ptlrpc_check_set

2016-06-20 Thread Oleg Drokin
From: Liang Zhen This patch changes a few things: - There is no guarantee that request_out_callback will happen before reply_in_callback, if a request got reply and unlinked reply buffer before request_out_callback is called, then the thread waiting on

[PATCH v2 08/29] staging/lustre/ptlrpc: missing wakeup for ptlrpc_check_set

2016-06-20 Thread Oleg Drokin
From: Liang Zhen This patch changes a few things: - There is no guarantee that request_out_callback will happen before reply_in_callback, if a request got reply and unlinked reply buffer before request_out_callback is called, then the thread waiting on ptlrpc_request_set will miss wakeup