Re: [PATCH 01/14] sd: don't use rq->cmd_len before setting it up

2014-07-09 Thread Christoph Hellwig
FYI, this has been dropped from the series in favour of always memsetting the cdb in common code. Take a look at the "RFC: clean up command setup" series, on top of which I have rebased the scsi-mq changes. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a

Re: [PATCH 01/14] sd: don't use rq->cmd_len before setting it up

2014-07-09 Thread Hannes Reinecke
On 06/25/2014 06:51 PM, Christoph Hellwig wrote: Unlike the old request code blk-mq doesn't initialize cmd_len with a default value, so don't rely on it being set in sd_setup_write_same_cmnd. Signed-off-by: Christoph Hellwig --- drivers/scsi/sd.c |3 ++- 1 file changed, 2 insertions(+),

[PATCH 01/14] sd: don't use rq->cmd_len before setting it up

2014-06-25 Thread Christoph Hellwig
Unlike the old request code blk-mq doesn't initialize cmd_len with a default value, so don't rely on it being set in sd_setup_write_same_cmnd. Signed-off-by: Christoph Hellwig --- drivers/scsi/sd.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/sd.c b/drive

[PATCH 01/14] sd: don't use rq->cmd_len before setting it up

2014-06-12 Thread Christoph Hellwig
Unlike the old request code blk-mq doesn't initialize cmd_len with a default value, so don't rely on it being set in sd_setup_write_same_cmnd. Signed-off-by: Christoph Hellwig --- drivers/scsi/sd.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/sd.c b/drive