Add option to disable multipath and other fixes

Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
This commit is contained in:
Utkarsh Mani Tripathi
2019-11-21 09:57:46 +05:30
parent 25f0038456
commit 583e9b3a4a
5 changed files with 18 additions and 10 deletions

View File

@@ -113,6 +113,6 @@ func (bs *RemBackingStore) DataSync(offset, length int64) (err error) {
}
func (bs *RemBackingStore) Unmap(bd []api.UnmapBlockDescriptor) (err error) {
_, err = bs.RemBs.Unmap(int64(bd[0].Offset), int64(bd[0].TL))
//_, err = bs.RemBs.Unmap(int64(bd[0].Offset), int64(bd[0].TL))
return
}