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: NEW
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: 2023-08-02 02:20 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
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.


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