diff options
author | Jakob Unterwurzacher | 2023-06-02 14:24:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2023-06-05 14:28:58 +0200 |
commit | 964f0c190932e5dc53b05ec69ccda6e8d33a73b6 (patch) | |
tree | 219f6c02123f0666c795b05e7f1c381690110c4c /tests/fsck/fsck_test.go | |
parent | 3058b7978fd8dabd3e8565c9be816b1367bd196a (diff) |
fusefrontend: sharedstorage: use byte-range lock on file header creation
Multiple hosts creating the same file at the same time could
have overwritten each other's 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 'tests/fsck/fsck_test.go')
0 files changed, 0 insertions, 0 deletions