2b4b45ead8
There were (at least) five ways for the volume's nominal size and the volume image file's actual size to desynchronize: - loading a stale qubes.xml if a crash happened right after resizing the image but before saving the updated qubes.xml (-> previously fixed) - restarting a snap_on_start volume after resizing the volume or its source volume (-> previously fixed) - reverting to a differently sized revision - importing a volume - user tinkering with image files Rather than trying to fix these one by one and hoping that there aren't any others, override the volume size getter itself to always update from the image file size. (If the getter is called though the storage API, it takes the volume lock to avoid clobbering the nominal size when resize() is running concurrently.) |
||
---|---|---|
.. | ||
__init__.py | ||
file.py | ||
kernels.py | ||
lvm.py | ||
README.md | ||
reflink.py |
WNI File storage
Before v3.1 there existed a draft wni storage. You can find it in the git history
(it was in /core/storage directory, now gone)