-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement facilities for handling unexpected physical removal of block devices #1082
Labels
C: Xen
help wanted
This issue will probably not get done in a timely fashion without help from community contributors.
P: major
Priority: major. Between "default" and "critical" in severity.
Comments
marmarek
added a commit
to marmarek/qubes-linux-utils
that referenced
this issue
Sep 12, 2017
1. Do not detach device forcefully when it's removed. This breaks libvirt (which thinks the device is still there). After this change, it is possible to detach device using libvirt, even if it was already removed physically from backend domain (unless it is dom0 - in which case it is still broken). So, this is partial fix for QubesOS/qubes-issues#1082. 2. Do not trigger "change" udev event when only QubesDB state needs to be updated - this leads to massive udev events queue, and heavy I/O usage - for example scanning all LVM many times. In some cases it even caused infinite event queue. 3. Do not use QUBES_EXPOSED udev property - it was needed a while back before QubesDB, because concurrent xenstore accesses are expensive (because of transactions). It isn't the problem on QubesDB. 4. Cache information about device-mapper, so it is possible to reconstruct it at device remove - when the actual device cannot be queried anymore. This is specifically about list of lower layer devices used. 5. Allow excluding loop devices pointing at a file in directory marked with ".qubes-exclude-block-devices" file. This is more generic than hardcoding /var/lib/qubes. QubesOS/qubes-issues#3084 Fixes QubesOS/qubes-issues#3073 QubesOS/qubes-issues#1082
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C: Xen
help wanted
This issue will probably not get done in a timely fashion without help from community contributors.
P: major
Priority: major. Between "default" and "critical" in severity.
Referencing #1072, we should keep an eye out for adding this functionality, if Xen in the future develops monitoring facilities in libxl:
The text was updated successfully, but these errors were encountered: