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

Generic module uevent handler #1176

Merged

Conversation

tbzatek
Copy link
Member

@tbzatek tbzatek commented Aug 22, 2023

Bunch of dirty hacks for the dirty uevent processing hack in the lvm2 module. The lvm2 module uevent handling really needs a complete rewrite...

Fixes #1170

Adding as a temporary workaround for LVM2 needs that used
to abuse the new_module() call and returned nothing. With
the recent changes to avoid calling this method on a 'remove'
uevent this no longer works and a temporary solution was needed.
This should cover add/remove uevent handling
Copy link
Member

@vojtechtrefny vojtechtrefny left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@tbzatek tbzatek merged commit e1076cf into storaged-project:master Sep 5, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lvm2 module is not noticing deactivations of logical volumes
2 participants