Bug 1020158

Summary: [RFE] Think about condensing dmsetup splitname and udevflags into one call
Product: [Fedora] Fedora Reporter: Zdenek Kabelac <zkabelac>
Component: lvm2Assignee: Peter Rajnoha <prajnoha>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, msnitzer, prajnoha, zkabelac
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.