nvidia-container-toolkit/internal/discover
Evan Lezar 7352a90b95 Fix race condition in mounts cache
This change switches to using the WithCache decorator for
mounts instead of keeping track of a cache locally.

This addresses a race condition when using the mounts structure.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-10-11 15:56:37 +02:00
..
cache.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
char_devices_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
char_devices.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
discover_mock.go
discover.go Remove discover.Config 2023-05-10 15:03:37 +02:00
filter.go fix minor typos and rm unused logger param 2024-01-22 16:48:11 -08:00
first-valid.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
gdrcopy.go Add a new gated modifier for GDRCopy which injects the gdrdrv device node 2024-01-24 14:25:58 -08:00
gds.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
graphics_test.go Skip explicit creation of libnvidia-allocator.so.1 symlink 2024-09-26 16:34:39 +02:00
graphics.go Skip explicit creation of libnvidia-allocator.so.1 symlink 2024-09-26 16:34:39 +02:00
hooks.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
ipc_test.go Rename icp_test.go to ipc_test.go 2024-08-19 15:39:54 +08:00
ipc.go Revert "Merge pull request #694 from elezar/add-opt-in-to-sockets" 2024-09-20 20:26:45 +02:00
ldconfig_test.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
ldconfig.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
list.go Fix misspellings 2023-10-24 20:00:24 +02:00
mofed.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
mounts_test.go Bump github.com/golangci/golangci-lint in /deployments/devel 2024-08-19 11:31:11 +02:00
mounts-to-container-path_test.go Support vulkan ICD files in a driver root 2024-06-17 11:33:29 +02:00
mounts-to-container-path.go Support vulkan ICD files in a driver root 2024-06-17 11:33:29 +02:00
mounts.go Fix race condition in mounts cache 2024-10-11 15:56:37 +02:00
none_test.go
none.go Add creation of select driver symlinks to CDI spec 2024-10-01 11:34:58 +02:00
nvswitch.go Add support for injecting NVSWITCH devices 2023-11-22 21:59:39 +01:00
symlinks_test.go Add creation of select driver symlinks to CDI spec 2024-10-01 11:34:58 +02:00
symlinks.go Add creation of select driver symlinks to CDI spec 2024-10-01 11:34:58 +02:00