Skip to content

fix: health check path for device when iommuFD is supported#57

Merged
rajatchopra merged 1 commit intoNVIDIA:mainfrom
rajatchopra:iommuhealthfix
Mar 11, 2026
Merged

fix: health check path for device when iommuFD is supported#57
rajatchopra merged 1 commit intoNVIDIA:mainfrom
rajatchopra:iommuhealthfix

Conversation

@rajatchopra
Copy link
Collaborator

When IommuFD is supported, the wrong paths were put into the fsNotifier. Fixed.

Before:

2026/03/11 19:06:27 iommufd supported: true
2026/03/11 19:06:27 Device map: map[2321:[0 1]]
2026/03/11 19:06:27 Registering device plugin "pgpu" with 2 device(s)
2026/03/11 19:06:27 Devicename pgpu
2026/03/11 19:06:27 pgpu Device plugin server ready
2026/03/11 19:06:27 healthCheck(pgpu): invoked
2026/03/11 19:06:27  Adding Watcher to Path : /dev/vfio/devices/0
2026/03/11 19:06:27 healthCheck(pgpu): Unable to add device path to fsnotify watcher: no such file or directory

After:

2026/03/11 19:05:56 iommufd supported: true
2026/03/11 19:05:56 Device map: map[2321:[0 1]]
2026/03/11 19:05:56 Registering device plugin "pgpu" with 2 device(s)
2026/03/11 19:05:56 Devicename pgpu
2026/03/11 19:05:56 pgpu Device plugin server ready
2026/03/11 19:05:56 healthCheck(pgpu): invoked
2026/03/11 19:05:56  Adding Watcher to Path : /dev/vfio/devices/vfio0
2026/03/11 19:05:56  Adding Watcher to Path : /dev/vfio/devices/vfio1

Signed-off-by: Rajat Chopra <rajatc@nvidia.com>
Copy link
Collaborator

@jojimt jojimt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rajatchopra rajatchopra merged commit d95c3da into NVIDIA:main Mar 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants