@@ -738,6 +738,14 @@ Using two environment variables
-`LIBGKFS_PROTECT_FILES_GENERATOR=1` enables the application as generator, so a open will create (and increase) a file .lockgekko and close will remove it (or decrease its value). The behaviour only uses metadata at server side.
-`LIBGKFS_PROTECT_FILES_CONSUMER=1` enables the application as consumer, so a open will wait until the .lockgekko dissapears. The wait is limited to ~40 seconds.
##### Metadata batching
During file/node creation (e.g., `open` with `O_CREAT`), the client sends a separate RPC for each file creation. The metadata batching feature allows buffering these creation operations on the client-side and sending them in batches to the daemons, reducing network RPC overhead during massive file creations.
Remaining buffered creation requests are automatically flushed when the application exits.