address review comments
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
This commit is contained in:
@@ -52,9 +52,6 @@ func (r *remoteBs) Unmap(bs int64, size int64) (int, error) {
|
|||||||
|
|
||||||
func initializeSCSITarget(size int64) {
|
func initializeSCSITarget(size int64) {
|
||||||
iscsit.EnableStats = true
|
iscsit.EnableStats = true
|
||||||
scsi.SCSIVendorID = "OPENEBS"
|
|
||||||
scsi.SCSIProductID = "JIVA"
|
|
||||||
scsi.SCSIID = "iqn.2016-09.com.jiva.openebs:iscsi-tgt"
|
|
||||||
scsi.EnableORWrite16 = false
|
scsi.EnableORWrite16 = false
|
||||||
scsi.EnablePersistentReservation = false
|
scsi.EnablePersistentReservation = false
|
||||||
scsi.EnableMultipath = false
|
scsi.EnableMultipath = false
|
||||||
@@ -79,7 +76,7 @@ func (r *remoteBs) Startup(name string, frontendIP string, clusterIP string, siz
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
r.tgtName = "iqn.2016-09.com.openebs.jiva:" + name
|
r.tgtName = "iqn.2016-09.com.gotgt.gostor:" + name
|
||||||
r.lhbsName = "RemBs:" + name
|
r.lhbsName = "RemBs:" + name
|
||||||
r.cfg = &config.Config{
|
r.cfg = &config.Config{
|
||||||
Storages: []config.BackendStorage{
|
Storages: []config.BackendStorage{
|
||||||
|
|||||||
Reference in New Issue
Block a user