Skip to content
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

Some low-hanging fruit to speed reset() up #402

Merged
merged 3 commits into from
May 3, 2016

Conversation

vpodzime
Copy link
Contributor

@vpodzime vpodzime commented May 2, 2016

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.

dwlehman and others added 3 commits May 2, 2016 10:03
This seems to be faster than our custom code which currently brings no real
advantage as we don't want to support some random formats given to us by
somebody else.
@vpodzime
Copy link
Contributor Author

vpodzime commented May 2, 2016

The tests failure is the same old unrelated issue with the Size class. Everything else passed just fine.

@vpodzime
Copy link
Contributor Author

vpodzime commented May 2, 2016

Jenkins, please test this.

@snbueno
Copy link
Contributor

snbueno commented May 2, 2016

These all look ok to me.

@snbueno snbueno added the ACK label May 2, 2016
@vpodzime
Copy link
Contributor Author

vpodzime commented May 3, 2016

Jenkins, please test this.

@vpodzime vpodzime merged commit e7dcc13 into storaged-project:2.0-devel May 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants