]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: Add allow_lun_scan module parameter
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Wed, 8 Dec 2010 16:30:46 +0000 (17:30 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:48 +0000 (12:24 -0600)
commit46110290b9a8c6a411c01a6c759c6eec7ade52f5
treef8179d83b91478f07456d78981bf95dcd1c3dc5e
parente8b4e6ba6ff6dff326a679bb338793dc5ad3b42e
[SCSI] zfcp: Add allow_lun_scan module parameter

The zfcpdump tool requires a method to attach exactly one LUN. The
easiest way to achieve this is to add a new zfcp module parameter.
When allow_lun_scan is set to "false", zfcp only accepts LUNs that
have been configured through the unit_add sysfs interface.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_scsi.c