aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/file_lock.go
AgeCommit message (Collapse)Author
2024-12-04fusefrontend: sharedstorage: use byte-range lock on file header creationJakob Unterwurzacher
Multiple host writing to the same empty file at the same time could have overwritten each other's newly created file header, leading to data corruption. Fix the race by placing a byte-range lock on the file when creating the file header.