From cdd65273e908c80ff38eb3f8782a8aab25a7362d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 8 Jul 2010 18:29:52 +0000 Subject: [PATCH] Applied a temporary fix for data corruption that could occur when multiple initiators were accessing data on a multicore target system. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1806 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index bc9dd86ac..b91441a98 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -1399,6 +1399,7 @@ static int srpt_handle_cmd(struct srpt_rdma_ch *ch, struct srpt_ioctx *ioctx, scst_cmd_set_tag(scmnd, srp_cmd->tag); scst_cmd_set_tgt_priv(scmnd, ioctx); scst_cmd_set_expected(scmnd, dir, data_len); + scst_cmd_set_no_sgv(scmnd); scst_cmd_init_done(scmnd, context); return 0;