Bug 1020158 - [RFE] Think about condensing dmsetup splitname and udevflags into one call
Summary: [RFE] Think about condensing dmsetup splitname and udevflags into one call
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Rajnoha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-17 07:30 UTC by Zdenek Kabelac
Modified: 2024-08-12 10:42 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-12 10:42:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zdenek Kabelac 2013-10-17 07:30:26 UTC
Description of problem:

We may safe one call of dmsetup for splitname by merging this functionality with udevflags parsing - while it's breaking a bit of rules spliting by doing dm-lvm part in dm rules - it could be a win in terms of CPU usage and udev rule processing speed when a lot of devices are in use.

Should be probably at least measured if this optimization is worth to make.


Version-Release number of selected component (if applicable):
2.02.103

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Peter Rajnoha 2015-09-24 10:26:36 UTC
Alternatively, we can suggest these helper functions to be a part of udev builtin command set - these are really simple so udev team could accept the patch.

Comment 2 Peter Rajnoha 2024-08-12 10:42:35 UTC
I'd like to avoid changing udev rules at this moment. This is not such an issue and we're planning SID to take over here anyway.


Note You need to log in before you can comment on or make changes to this bug.