rename volume property MemoryMap to MemoryMapMaxSizeMB

This commit is contained in:
j.laycock
2019-09-05 11:56:48 +01:00
parent 5a6dfb05fc
commit 5885ab67b3
3 changed files with 15 additions and 15 deletions

View File

@@ -42,7 +42,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
}
} else {
if createDatIfMissing {
v.dataFile, e = createVolumeFile(fileName+".dat", preallocate, v.MemoryMapped)
v.dataFile, e = createVolumeFile(fileName+".dat", preallocate, v.MemoryMapMaxSizeMB)
} else {
return fmt.Errorf("Volume Data file %s.dat does not exist.", fileName)
}