Three small and simple changes that make ``reset()`` quite a bit faster (~3s on my testing
VM). A lot more can/needs to be done in the future, but the rest is quite complicated.
Just a note for the second patch:
``resolve_devspec()`` is not needed there. Something like ``resolve_dev_symlink()`` would
be sufficient and much more efficient, but since it is a common operation, I'd like to
add such function to *libblockdev* and then do the change in *Blivet* to start using it.
--
To view this pull request on github, visit
https://github.com/rhinstaller/blivet/pull/402