IB/srp: Increase supported CDB size
authorArne Redlich <arne.redlich@xiranet.com>
Wed, 15 Nov 2006 11:43:00 +0000 (12:43 +0100)
committerRoland Dreier <rolandd@cisco.com>
Wed, 29 Nov 2006 23:33:06 +0000 (15:33 -0800)
commit3c8edf0eca2e47340c960b2f27c659c097118ffe
tree013c775413fd388bbd56dc4a42cfdd85fae9ee04
parente31353eaeca736981ec13b46089d30147342b28b
IB/srp: Increase supported CDB size

Set the Scsi_Host's max_cmd_len from 12 (default) to 16 for
SRP. Otherwise scsi_dispatch_cmd() won't pass down certain commands
such as READ CAPACITY 16, required for supporting disks > 2TB.

Signed-off-by: Arne Redlich <arne.redlich@xiranet.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c