provide offset and tl to DataSync

This commit is contained in:
chessman
2019-06-27 19:23:13 +03:00
parent d13122d350
commit 0b1ffd5704
6 changed files with 26 additions and 7 deletions

View File

@@ -349,7 +349,7 @@ type BackingStore interface {
Size(dev *SCSILu) uint64
Read(offset, tl int64) ([]byte, error)
Write([]byte, int64) error
DataSync() error
DataSync(offset, tl int64) error
DataAdvise(int64, int64, uint32) error
Unmap([]UnmapBlockDescriptor) error
}