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:
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.