vfs: deliver ACKs after config change

This is needed to enable VFS plugins to notify VFS clients about file
changes that depend on the plugin configuration, E.g., whenever the vfs_ttf
plugin responds to a font-size change, it generates a watch notification
for the glyphs file. Since the change is independent from I/O, we need
to manually call 'handle_io_progress'.
This commit is contained in:
Norman Feske 2020-09-07 15:47:51 +02:00 committed by Christian Helmuth
parent 0af969543d
commit 7de2b040f8

View File

@ -765,6 +765,13 @@ class Vfs_server::Root : public Genode::Root_component<Session_component>,
{
_config_rom.update();
_vfs_env.root_dir().apply_config(vfs_config());
/*
* The VFS configuration change may result in watch notifications
* generated by VFS plugins. Execute 'handle_io_progress' to
* deliver the watch notifications.
*/
handle_io_progress();
}
/**