[RFC] fs: add userspace critical mounts event support
Andy Lutomirski
luto at amacapital.net
Wed Nov 9 22:21:07 AEDT 2016
On Wed, Nov 9, 2016 at 1:13 AM, Daniel Wagner
<daniel.wagner at bmw-carit.de> wrote:
> [CC: added Harald]
>
> As Harald pointed out over a beer yesterday evening, there is at least
> one more reason why UMH isn't obsolete. The ordering of the firmware loading
> might be of important. Say you want to greet the user with a splash screen
> really early on, the graphic card firmware should be loaded first. Also the
> automotive world has this fancy requirement that rear camera must be on the
> screen within 2 seconds. So controlling the firmware loading order is of
> importance (e.g. also do not overcommit the I/O bandwith not so important
> firmwares). A user space helper is able to prioritize the request
> accordingly the use case.
That seems like a valid problem, but I don't think that UMH adequately
solves it. Sure, loading firmware in the right order avoids a >2sec
delay due to firmware loading, but what happens when you have a slow
USB device that *doesn't* need firmware plugged in to your car's shiny
USB port when you start the car?
It seems to me that this use case requires explicit control over
device probing and, if that gets added, you get your firmware ordering
for free (just probe the important devices first).
--Andy
More information about the Linuxppc-dev
mailing list