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/

Reply via email to