Bug 1279983

Summary: deadlock when removing snapshot of root LV from lvremove failing to mlock() itself into memory
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kurik <jkurik>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
lvm2 sub component: Changing Logical Volumes (RHEL6) QA Contact: cluster-qe <cluster-qe>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: agk, cluster-qe, cmarthal, cww, djeffery, dwysocha, heinzm, jbrassow, jmagrini, lvm-team, msnitzer, pm-eus, prajnoha, prockai, rbednar, zkabelac
Version: 6.7Keywords: Regression, ZStream
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lvm2-2.02.118-3.el6_7.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1278920 Environment:
Last Closed: 2015-12-15 13:31:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1278920    
Bug Blocks:    

Description Jan Kurik 2015-11-10 16:04:22 UTC
This bug has been copied from bug #1278920 and has been proposed
to be backported to 6.7 z-stream (EUS).

Comment 5 Roman Bednář 2015-11-24 09:26:14 UTC
Marking as verified.


lvremove strace output:


old version: lvm2-2.02.118-3.el6_7.3

...
mlock(0x7fc530929000, 0)                = 0
mlock(0x7fc53092a000, 0)                = 0
mlock(0x7fc530b41000, 0)                = 0
...



new version: lvm2-2.02.118-3.el6_7.4

...
mlock(0x7f0a7a024000, 4096)             = 0
mlock(0x7f0a7a025000, 94208)            = 0
mlock(0x7f0a7a23c000, 4096)             = 0

Comment 9 errata-xmlrpc 2015-12-15 13:31:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2635.html