use renameat2 Linux extension syscall (#17757)

this is a faster and safer alternative
on newer kernel versions.
This commit is contained in:
Harshavardhana
2023-08-27 09:57:11 -07:00
committed by GitHub
parent 6f0ed2a091
commit 8a57b6bced
10 changed files with 146 additions and 67 deletions
+3
View File
@@ -235,6 +235,9 @@ type FileInfo struct {
// Combined checksum when object was uploaded.
Checksum []byte `msg:"cs,allownil"`
// Versioned - indicates if this file is versioned or not.
Versioned bool `msg:"vs"`
}
// WriteQuorum returns expected write quorum for this FileInfo