From 4b5e4c934d79058b7f2d9fff71ababffd9b90fdf Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Thu, 27 Oct 2022 16:04:35 -0500 Subject: [PATCH] fsync --- concurrency-sort/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/concurrency-sort/README.md b/concurrency-sort/README.md index cf42cc3..b7a2142 100644 --- a/concurrency-sort/README.md +++ b/concurrency-sort/README.md @@ -42,6 +42,8 @@ fixed-size, and are each 100 bytes (which includes the key). A successful sort will read all the records into memory from the input file, sort them, and then write them out to the output file. +You also have to force writes to disk by calling `fsync()` on the output file before finishing. + ## Considerations Doing so effectively and with high performance will require you to address (at