mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user