Ah got it! Thanks for the clarification! Best, Rumen
________________________________________ From: Norman Feske via users <[email protected]> Sent: Wednesday, June 24, 2026 11:40 AM To: [email protected] Cc: Norman Feske Subject: Re: How to Explicitly Sync When Appending to a File CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi Rumen, > auto res = handle->fs().complete_sync(handle); > while (res == Vfs::File_io_service::SYNC_QUEUED) { > root_dir.commit_and_wait(); > } when glancing at this code snippet, it seems like you missed calling 'complete_sync' in each iteration of the while loop. The code calls it only once. After entering the loop, the while condition can never change. Cheers Norman -- Dr.-Ing. Norman Feske Genode Labs https://www.genode-labs.com · https://genode.org Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Archived at https://lists.genode.org/mailman3/hyperkitty/list/[email protected]/message/GPQ3FDC3CUEWHYXETAQISLPVOE44VZ2J/ _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Archived at https://lists.genode.org/mailman3/hyperkitty/list/[email protected]/message/SW4V7FIKIE6BM35T3NLLSJLKGQPNHHYU/
