mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 18:46:17 +00:00
perf(ecstore): remove owned write sync regression (#3018)
This commit is contained in:
@@ -1180,8 +1180,6 @@ impl LocalDisk {
|
|||||||
}
|
}
|
||||||
InternalBuf::Owned(buf) => {
|
InternalBuf::Owned(buf) => {
|
||||||
f.write_all(buf.as_ref()).await.map_err(to_file_error)?;
|
f.write_all(buf.as_ref()).await.map_err(to_file_error)?;
|
||||||
// Ensure write errors are observed before returning for owned buffers.
|
|
||||||
f.sync_all().await.map_err(to_file_error)?;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user