scsi: bfa: don't reset max_segments for every bsg request
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Oct 2017 10:48:38 +0000 (12:48 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Oct 2017 03:36:23 +0000 (23:36 -0400)
commitb8d897ab663f499774bb250db9880139a3b0a229
tree512c046b9f084d3450280e75a11f57721f485c42
parent8712f467d4a560e03ede0d5a0316407db8882729
scsi: bfa: don't reset max_segments for every bsg request

We already support 256 or more segments as long as the architecture
supports SG chaining (all the ones that matter do), so removed the weird
playing with limits from the job handler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfad_bsg.c