iSCSI/SCSI multi port/ALUA support

fix ALUA flag issue
fix NNA flag issue
fix fixed format sense data builder issue
This commit is contained in:
Le Zhang
2016-10-14 16:46:34 +08:00
parent b9b9508817
commit 547faf684d
17 changed files with 333 additions and 107 deletions

View File

@@ -76,8 +76,8 @@ Help Options:
os.Exit(1)
}
for tgtname, tgt := range config.Targets {
targetDriver.NewTarget(tgtname, tgt.Portals)
for tgtname := range config.ISCSITargets {
targetDriver.NewTarget(tgtname, config)
}
runtime.GOMAXPROCS(runtime.NumCPU())