Under heavily multithreaded I/O (twenty or more concurrent writers), data corruption could occur. This issue was introduced in r1506 and has now been fixed.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1839 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-07-17 19:50:45 +00:00
parent 78cb9e9458
commit 3b69f969f1

View File

@@ -1289,10 +1289,8 @@ static void srpt_handle_rdma_comp(struct srpt_rdma_ch *ch,
if (unlikely(scst_cmd_aborted(scmnd)))
srpt_abort_scst_cmd(ioctx, context);
else {
srpt_unmap_sg_to_ib_sge(ch, ioctx);
else
scst_rx_data(ioctx->scmnd, SCST_RX_STATUS_SUCCESS, context);
}
}
/**