]> sourceware.org Git - lvm2.git/commit
activation: enhance holders detection
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 24 Nov 2017 19:59:38 +0000 (20:59 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Sat, 25 Nov 2017 23:31:26 +0000 (00:31 +0100)
commit8c6fd0933fa4ee9b79ae5edbb90afe6a3d893b18
tree8a4bac82e299de97cb81e9e5501a1cca7e42af17
parentce83162d7c7eae008935989a26dbf23dfb08d0f9
activation: enhance holders detection

Use code which detectes handlers in a way, which is more
backward-compatible friendly.

Replace read of 'sysfs' uuid entry with dm ioctl call.

Use /sys/block/dm-X/holders path instead of
new path  /sys/dev/block/major:minor/holders.

TODO:
There are few more occurencies of this logic around the code
so some abstract interface should be considered.
lib/activate/dev_manager.c
This page took 0.037219 seconds and 5 git commands to generate.