From: Erez Zilber Date: Mon, 11 Sep 2006 09:20:54 +0000 (+0300) Subject: IB/iser: Limit the max size of a scsi command X-Git-Tag: v2.6.19-rc1~1293^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8072ec2f8f6790df91e85d833e672c9c30a7ab3c;p=pandora-kernel.git IB/iser: Limit the max size of a scsi command Currently, the data length of a command coming down from scsi-ml is limited only by the size of its sg list (sg_tablesize). The max data length may be different for different page size values. By setting max_sectors, we limit the data length to max_sectors*512 bytes. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier --- Reading git-diff-tree failed