]> git.ozlabs.org Git - petitboot/commit
discover/paths: Add network jobs to queue
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 23 Mar 2017 06:42:37 +0000 (17:42 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 11 Jul 2017 04:32:26 +0000 (14:32 +1000)
commit5314cebf5fe766bdca6c779e785b8dfaa3808142
tree133934cb709b765a7c1acd06433328fc53cc12bd
parent1ac262ed5224463c01525c680d1f58f7df48b943
discover/paths: Add network jobs to queue

Load tasks that start before the network is available will fail. Rather
than just fail these tasks, add them to a queue that is processed once
the network is ready. This helps users who try to request files early in
setup, as well as very early running load tasks.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c
discover/network.c
discover/paths.c
discover/paths.h
test/parser/handler.c