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 
This commit is contained in:
Emery Hemingway 2020-10-22 11:38:30 +02:00 committed by Christian Helmuth
parent b7ba508110
commit d16a1bd922

View File

@ -2032,6 +2032,7 @@ class Lwip::File_system final : public Vfs::File_system, public Lwip::Directory
if (_netif.ready()) return true;
/* handle must be woken when the interface comes up */
Genode::warning("read blocked until lwIP interface is ready");
_netif.enqueue(*vfs_handle);
return false;
}