提交 64f84bc1 编写于 作者: M Mike Christie 提交者: James Bottomley

[SCSI] scsi_dh_alua: remove REQ_NOMERGE

We do not need to set REQ_NOMERGE because when the module calls
blk_execute_rq -> blk_execute_rq_nowait, blk_execute_rq_nowait sets
it for us. This brings all the modules in sync for those bits.
Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 d9cc21fa
...@@ -110,7 +110,7 @@ static struct request *get_alua_req(struct scsi_device *sdev, ...@@ -110,7 +110,7 @@ static struct request *get_alua_req(struct scsi_device *sdev,
rq->cmd_type = REQ_TYPE_BLOCK_PC; rq->cmd_type = REQ_TYPE_BLOCK_PC;
rq->cmd_flags |= REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | rq->cmd_flags |= REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT |
REQ_FAILFAST_DRIVER | REQ_NOMERGE; REQ_FAILFAST_DRIVER;
rq->retries = ALUA_FAILOVER_RETRIES; rq->retries = ALUA_FAILOVER_RETRIES;
rq->timeout = ALUA_FAILOVER_TIMEOUT; rq->timeout = ALUA_FAILOVER_TIMEOUT;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册