mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
df7de17435
Closing the hashfile handle after a write operation wasn't synchronised to the actual end of the write operation. Issuing a write operation at the back end returns successfull as soon as the back end has acknowledged that it will execute the operation. However, the actual writing of the data might still be in progress at this point. But the plugin used to close the file handle and declare the operation finished at this point which led to warnings about acks on unknown file handles and leaking resources. Now, the plugin issues a sync operation directly after the write operation and waits for the sync to complete. This ensures that the plugin doesn't declare the operation finished too early. Ref #4032 |
||
---|---|---|
.. | ||
check | ||
crypto | ||
dump | ||
init | ||
vfs | ||
library.h | ||
spark_object.h | ||
types.h |