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

Specialize udevadm rescan to target block device #3

Merged
merged 1 commit into from
Jul 25, 2018

Conversation

javacruft
Copy link
Contributor

Limit the udevadm trigger call to only match the device being
used; this avoids rebuilding /dev/disk/by-/ symlinks for all
block devices and the assocaited race conditions that might
exist when a system is under load.

Limit the udevadm trigger call to only match the device being
used; this avoids rebuilding /dev/disk/by-*/* symlinks for all
block devices and the assocaited race conditions that might
exist when a system is under load.
@javacruft
Copy link
Contributor Author

To confirm; I also tested this using /dev/disk/by-dname configuration options in the ceph-osd charm; these are used right down into the vaultlocker layer and I wanted to confirm that this change does not revert the previous commit which forced a full rescan of block devices. Worked OK

@fnordahl fnordahl self-requested a review July 25, 2018 11:58
Copy link
Contributor

@fnordahl fnordahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fnordahl fnordahl merged commit 6d98e83 into openstack-charmers:master Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants