summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_disc.h
diff options
context:
space:
mode:
authorJames Bottomley2008-02-10 16:42:46 +0100
committerJames Bottomley2008-02-11 20:40:13 +0100
commit4660c8ed5aaed99d82785499f034a8cc9199866d (patch)
tree5583446125e4d649f28cb678ee809a2937964555 /drivers/scsi/lpfc/lpfc_disc.h
parent[SCSI] aic94xx: fix ABORT_TASK define conflict (diff)
downloadkernel-qcow2-linux-4660c8ed5aaed99d82785499f034a8cc9199866d.tar.gz
kernel-qcow2-linux-4660c8ed5aaed99d82785499f034a8cc9199866d.tar.xz
kernel-qcow2-linux-4660c8ed5aaed99d82785499f034a8cc9199866d.zip
[SCSI] update SG_ALL to avoid causing chaining
Since the sg chaining patches went in, our current value of 255 for SG_ALL excites chaining on some drivers which cannot support it (and would thus oops). Redefine SG_ALL to mean no sg table size preference, but use the single allocation (non chained) limit. This also helps for drivers that use it to size an internal table. We'll do an opt in system later where truly chaining supporting drivers can define their sg_tablesize to be anything up to SCSI_MAX_SG_CHAIN_ELEMENTS. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_disc.h')
0 files changed, 0 insertions, 0 deletions