Bug 814817

Summary: Improve libdevmapper for use in threaded applications
Product: [Fedora] Fedora Reporter: Alasdair Kergon <agk>
Component: lvm2Assignee: Joe Thornber <thornber>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium 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: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-28 14:24:26 UTC 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 Alasdair Kergon 2012-04-20 18:48:38 UTC
Multi-threaded daemons such as dmeventd could benefit from some improvements to libdevmapper.

Comment 1 Joe Thornber 2019-08-28 14:24:26 UTC
WONTFIX

Comment 2 Joe Thornber 2019-08-29 08:44:06 UTC
i) We're moth balling libdevmapper with a view to replacing it's use with a re-engineered interface (probably dmexec, see https://github.com/jthornber/deconstructed-volume-manager/blob/master/examples/dm-exec/ex13.asm).

ii) dmeventd should be changed to use the new ioctl that can wait for multiple events, rather than constantly polling the status of devices.