IB/iser: Limit the max size of a scsi command
authorErez Zilber <erezz@voltaire.com>
Mon, 11 Sep 2006 09:20:54 +0000 (12:20 +0300)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:50 +0000 (15:22 -0700)
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 <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found