diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-10-13 10:44:11 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-10-22 09:38:51 +0900 |
commit | 9e820afd0c4f3c8e8894aa91f5671fd7d11a787b (patch) | |
tree | 5cc2c79cdf223eb30b43c85caf7a281edbf24be3 /net/ipv4 | |
parent | 9d38500de156fb28ffa8741acb90c4dc90a9fb4b (diff) |
[SCSI] zfcp: Flush SCSI registration work when adding unit
When configuring a LUN for use in zfcp, flush the SCSI work to ensure
the SCSI device has been created before returning. This means that a
configuration procedure can run these commands in a script and the
SCSI device is available immediately after the unit_add:
echo 1 > /sys/bus/ccw/drivers/zfcp/0.0.181d/online
echo 0x401040C300000000 > \
/sys/bus/ccw/drivers/zfcp/0.0.181d/0x500507630313c562/unit_add
lsscsi
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions