From a2abc13425df6c2b8ee5bba0257ea402933da6e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Fri, 31 May 2019 17:16:51 +0200 Subject: [PATCH] nvme_drv: only wait for first admin cmd Leave the loop if we processed the cmd we were looking for. That should fix the delay users notice in Sculpt when NVMe is used. Issue #3369. --- repos/os/src/drivers/nvme/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/repos/os/src/drivers/nvme/main.cc b/repos/os/src/drivers/nvme/main.cc index 7cc8474cd..a34e3db31 100644 --- a/repos/os/src/drivers/nvme/main.cc +++ b/repos/os/src/drivers/nvme/main.cc @@ -817,6 +817,7 @@ struct Nvme::Controller : public Genode::Attached_mmio success = true; write(_admin_cq.head); + break; } return success;