aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/virtualconf.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2023-06-02 14:24:44 +0200
committerJakob Unterwurzacher2024-12-04 19:53:15 +0100
commit8f76d1ea0a63f546ad09fa70be1ed7b6a7d29fe6 (patch)
treeceeb1a1d902e55f1798c238af5595247201db929 /internal/fusefrontend_reverse/virtualconf.go
parent9529f5da0f608c7dbc7b7be095d89039d6a3a5b6 (diff)
fusefrontend: sharedstorage: use byte-range lock on file header creation
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.
Diffstat (limited to 'internal/fusefrontend_reverse/virtualconf.go')
0 files changed, 0 insertions, 0 deletions