summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iser_memory.c
diff options
context:
space:
mode:
authorErez Zilber <erezz@voltaire.com>2006-09-11 12:20:54 +0300
committerRoland Dreier <rolandd@cisco.com>2006-09-22 15:22:50 -0700
commit8072ec2f8f6790df91e85d833e672c9c30a7ab3c (patch)
tree15866a5b44b5f199fea76f1b540c2a790203aad2 /drivers/infiniband/ulp/iser/iser_memory.c
parent777a71dd4d901f055967ddbd038d2a74ffce0eb8 (diff)
downloadtalos-obmc-linux-8072ec2f8f6790df91e85d833e672c9c30a7ab3c.tar.gz
talos-obmc-linux-8072ec2f8f6790df91e85d833e672c9c30a7ab3c.zip
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 <erezz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iser_memory.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud