fsync
This commit is contained in:
@@ -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
|
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.
|
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
|
## Considerations
|
||||||
|
|
||||||
Doing so effectively and with high performance will require you to address (at
|
Doing so effectively and with high performance will require you to address (at
|
||||||
|
|||||||
Reference in New Issue
Block a user