3c327a4ced7838e1f47e0d3c9e5e6213cf6d2b07
Currently during startup we walk through all the device files and read their device ID and mark in a bitmap that device id is used. We are anyway going through all device files. So we can as well load all that data into device hash map. This will save us little time when container is actually launched later. Also this will help with later patches where cleanup deferred device wants to go through all the devices and see which have been marked for deletion and delete these. So re-organize the code a bit. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: 6b8b4feaa165af630dd33423f0538a0b987703ae Component: engine
Description
No description provided
310 MiB
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%