Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RFE: Provide pre- and post- hooks for uevent add and remove actions #1233

Open
tbzatek opened this issue Dec 13, 2023 · 0 comments
Open

RFE: Provide pre- and post- hooks for uevent add and remove actions #1233

tbzatek opened this issue Dec 13, 2023 · 0 comments
Assignees

Comments

@tbzatek
Copy link
Member

tbzatek commented Dec 13, 2023

Several times I came across the need to cross-update two objects interlinked together - e.g.

  • Drive.Size property needs to be updated after the NVMe.Namespace interface uevent
  • LogicalVolume needs to be updated after the VolumeGroup interface uevent
  • btrfs/f2fs/bcachefs multidisk volumes will cross-link object paths

This is not a problem for add and change uevents as the required objects do still exist, however in case of a remove uevent the cross-linked objects will need to be notified that something has gone missing.

@tbzatek tbzatek self-assigned this Dec 13, 2023
@tbzatek tbzatek changed the title [WIP] RFE: Provide pre- and post- hooks for uevent add and remove actions RFE: Provide pre- and post- hooks for uevent add and remove actions Dec 13, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant