Ah got it! Thanks for the clarification!
Best, Rumen
________________________________________ From: Norman Feske via users users@lists.genode.org Sent: Wednesday, June 24, 2026 11:40 AM To: users@lists.genode.org 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 -- users@lists.genode.org To unsubscribe send an email to users-leave@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/mes...