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

@@ -106,7 +106,7 @@ func (bs *FileBackingStore) Write(wbuf []byte, offset int64) error {
return nil
}
func (bs *FileBackingStore) DataSync() error {
func (bs *FileBackingStore) DataSync(offset, tl int64) error {
return util.Fdatasync(bs.file)
}