]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebb37b589423e4a99f5fb16312123227c702e42e
tree013c775413fd388bbd56dc4a42cfdd85fae9ee04
parent6511b06f051a7844e1f382e0c330959541d20253
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