mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 17:48:53 +00:00
vfs_lwip: log warning when blocking application
Log a warning when the lwIP VFS plugin queues a read while waiting for an interface to become ready. By comparision the Lxip plugin has the same behavior but a more verbose initialization process. Fix #3920
This commit is contained in:
parent
b7ba508110
commit
d16a1bd922
@ -2032,6 +2032,7 @@ class Lwip::File_system final : public Vfs::File_system, public Lwip::Directory
|
|||||||
if (_netif.ready()) return true;
|
if (_netif.ready()) return true;
|
||||||
|
|
||||||
/* handle must be woken when the interface comes up */
|
/* handle must be woken when the interface comes up */
|
||||||
|
Genode::warning("read blocked until lwIP interface is ready");
|
||||||
_netif.enqueue(*vfs_handle);
|
_netif.enqueue(*vfs_handle);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user