linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5 0/3] scsi: Configure number of LUs reported by 'report-luns'
@ 2014-12-05 19:37 Rob Evers
  2014-12-05 19:37 ` [PATCH V5 1/3] scsi: Avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scan Rob Evers
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Rob Evers @ 2014-12-05 19:37 UTC (permalink / raw)
  To: linux-scsi

This patch set retrieves the number of LUs available on a target
using the report-luns command by re-sizing the returned data
buffer and retrying report luns.

A minor bug fix is included.

scsi_mod parameter max_report_luns is no longer used and is removed.

Changes from previous posting:

 - simplify implementation by removing max_report_luns parameter and
   removing 2nd kmalloc failure handling

 - remove patch to fix return value on first kmalloc failing

 - drop do_scsi_report_luns encapsulation as it isn't required
   with new implementation

Rob Evers (3):
  scsi: Avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scan
  scsi: Use set/get_unaligned_be32 in report_luns
  scsi: Retry report-luns when reported LU count requres more memory

 drivers/scsi/scsi_scan.c | 54 ++++++++++++++----------------------------------
 1 file changed, 15 insertions(+), 39 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-15 15:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05 19:37 [PATCH V5 0/3] scsi: Configure number of LUs reported by 'report-luns' Rob Evers
2014-12-05 19:37 ` [PATCH V5 1/3] scsi: Avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scan Rob Evers
2014-12-15 15:43   ` Christoph Hellwig
2014-12-05 19:37 ` [PATCH V5 2/3] scsi: Use set/get_unaligned_be32 in report_luns Rob Evers
2014-12-15 15:45   ` Christoph Hellwig
2014-12-05 19:37 ` [PATCH V5 3/3] scsi: Retry report-luns when reported LU count requres more memory Rob Evers
2014-12-15 15:47   ` Christoph Hellwig
2014-12-08 13:04 ` [PATCH V5 0/3] scsi: Configure number of LUs reported by 'report-luns' Rob Evers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).