Actions
Bug #59160
closedrbd-wnbd: optionally handle wnbd adapter restart events
% Done:
0%
Source:
Tags:
backport_processed
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The WNBD adapter may be reset in certain situations (e.g. driver upgrade, MS WHQL tests, etc).
We're going to monitor the WNBD adapter using WMI1 events, restarting the rbd-wnbd disk mappings whenever necessary. Adapter monitoring can be enabled by passing the --adapter-monitoring-enabled flag to the service.
This feature is optional for the following reasons:
- it's mainly used during development / driver certification
- we had to use a relatively small polling interval, which might imply additional resource usage. WMI quotas also have to be considered.
[1] https://learn.microsoft.com/en-us/windows/win32/wmisdk/wmi-start-page
Updated by Lucian Petrut about 1 year ago
- Copied to Backport #59161: reef: rbd-wnbd: optionally handle wnbd adapter restart events added
Updated by Ilya Dryomov about 1 year ago
- Status changed from Pending Backport to Resolved
Actions