mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
Revert "Write files in O_SYNC for fs backend to protect against machine crashes (#9434)"
This reverts commit 4843affd0e.
This commit is contained in:
1 parent
b1c0c32ba6
commit
eff4127efd
2 files changed
+2
-2
No files matched your search
@@ -321,7 +321,7 @@ func fsCreateFile(ctx context.Context, filePath string, reader io.Reader, buf []
|
||||
return 0, err
|
||||
}
|
||||
|
||||
writer, err := lock.Open(filePath, os.O_CREATE|os.O_WRONLY|os.O_SYNC, 0666)
|
||||
writer, err := lock.Open(filePath, os.O_CREATE|os.O_WRONLY, 0666)
|
||||
if err != nil {
|
||||
return 0, osErrToFSFileErr(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user