-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #232: Ensure storaged does not crash on boot
Rather than returning an error while initializing the storage module, which ultimately crashes the module, maintain separate lists of (presumably) faulty devices and storagepools. This allows storaged to finish intializing with all the known working devices and storagpools in the system. Also expose these lists over the zbus interface, so other modules have the ability to check if there is faulty hardware and if so, take action (e.g. notify farmer).
- Loading branch information
Showing
3 changed files
with
81 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters