Red Hat Bugzilla – Bug 1022876
Kernel sends 2 remove events when dm device is removed
Last modified: 2015-11-23 12:18:33 EST
Description of problem:
From udevadm monitor I could see 2 remove events being send as a result of single ioctl(3, DM_DEV_REMOVE, 0x1d690e0).
The second event just wake-ups udev uselessly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. echo "0 1 zero" | dmsetup create test
2. run in separate window 'udevadm monitor --kernel --env'
3. dmsetup remove test
KERNEL[74912.993392] remove /devices/virtual/block/dm-8 (block)
KERNEL[74912.994059] remove /devices/virtual/bdi/253:8 (bdi)
KERNEL[74912.994671] remove /devices/virtual/block/dm-8 (block)
Only 1 remove event for dm-8
Mikulas, maybe you could take a short look ?
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.
More information and reason for this action is here:
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in over 4 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.