diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2023-10-03 12:52:47 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2023-10-03 13:09:40 +0200 |
commit | 737f4f953fa908863c3492e6c6a1188acb58370c (patch) | |
tree | ed0029453422432eb7ce5bd0221220dead1afd78 /test/test-tcp-write-queue-order.c | |
parent | fef619608bda33a7cb37e78f08ee8abbb62458a3 (diff) | |
download | libuv-737f4f953fa908863c3492e6c6a1188acb58370c.tar.gz libuv-737f4f953fa908863c3492e6c6a1188acb58370c.zip |
darwin: remove workaround for data corruption bug
XNU kernels anno ~2010 had a data corrruption bug where concurrent
write and pwrite calls sometimes resulted in blocks of zeroes being
written instead of the actual data.
Libuv works around that by serializing all writes with a process-wide
mutex, meaning oncurrent writes (for all files, not just single files)
have a concurrency of 1. Obviously that's not great for performance.
Modern day macOS no longer has this bug, so remove the workaround.
Diffstat (limited to 'test/test-tcp-write-queue-order.c')
0 files changed, 0 insertions, 0 deletions