This is causing LU-5446
This reverts commit
2b3663dda896f669c87feb49e7f3c7d85a89cefe.
Change-Id: I8bd254137ad0d402bad5f5aac85aa52cd3d47f63
Reviewed-on: http://review.whamcloud.com/11892
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Oleg Drokin <oleg.drokin@intel.com>
int result = 0;
if (cbargs->opc_rpc_sent) {
- result = wait_for_completion_killable(&cbargs->opc_sync);
- if (result == 0)
- result = cbargs->opc_rc;
- io->ci_result = result;
+ wait_for_completion(&cbargs->opc_sync);
+ result = io->ci_result = cbargs->opc_rc;
}
if (result == 0) {
if (oio->oi_lockless) {
struct osc_io *oio = cl2osc_io(env, slice);
struct osc_async_cbargs *cbargs = &oio->oi_cbarg;
- result = wait_for_completion_killable(&cbargs->opc_sync);
+ wait_for_completion(&cbargs->opc_sync);
if (result == 0)
result = cbargs->opc_rc;
}