From d16a1bd922245376aad1ee77461eec933ecdaf27 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Thu, 22 Oct 2020 11:38:30 +0200 Subject: [PATCH] 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 --- repos/libports/src/lib/vfs/lwip/vfs.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/repos/libports/src/lib/vfs/lwip/vfs.cc b/repos/libports/src/lib/vfs/lwip/vfs.cc index fb48a0f269..0c66f26fc9 100644 --- a/repos/libports/src/lib/vfs/lwip/vfs.cc +++ b/repos/libports/src/lib/vfs/lwip/vfs.cc @@ -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; }