diff options
author | Rob Evers <revers@redhat.com> | 2014-12-16 11:01:20 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-01-09 15:44:16 +0100 |
commit | acd6d73826224c20c44f505f56b0503f022d695c (patch) | |
tree | bb68748e8a5fe87ad511b543f92a08d6a21bebce /security | |
parent | 2a904e5dd9b832fe70d86b70ce6e273d67e94389 (diff) | |
download | op-kernel-dev-acd6d73826224c20c44f505f56b0503f022d695c.zip op-kernel-dev-acd6d73826224c20c44f505f56b0503f022d695c.tar.gz |
scsi: retry report-luns when reported LU count requres more memory
Update scsi_report_lun_scan to initially always report up to 511 LUs,
as the previous default max_report_luns did. Retry in a loop if not
enough memory is available for the number of LUs reported. Parameter
max_report_luns is removed as it is no longer used.
Signed-off-by: Rob Evers <revers@redhat.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions