mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
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:
parent
0af969543d
commit
7de2b040f8
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user