summaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-06-27 08:59:34 -0400
committerPeter Rajnoha <prajnoha@redhat.com>2012-06-28 09:42:47 -0400
commit95ced7a7be26499fed2ffa03d71002e73c2d3ca9 (patch)
tree464f48c0ffaacad9afa14072307ccb506fc34826 /udev
parent2729720fd329f2c33cddeeded591a06fe4b6a147 (diff)
downloadlvm2-95ced7a7be26499fed2ffa03d71002e73c2d3ca9.tar.gz
lvm2-95ced7a7be26499fed2ffa03d71002e73c2d3ca9.tar.xz
lvm2-95ced7a7be26499fed2ffa03d71002e73c2d3ca9.zip
activate: add autoactivation hooks
Define an 'activation_handler' that gets called automatically on PV appearance/disappearance while processing the lvmetad_pv_found and lvmetad_pv_gone functions that are supposed to update the lvmetad state based on PV availability state. For now, the actual support is for PV appearance only, leaving room for PV disappearance support as well (which is a more complex problem to solve as this needs to count with possible device stack). Add a new activation change mode - CHANGE_AAY exposed as '--activate ay/-aay' argument ('activate automatically'). Factor out the vgchange activation functionality for use in other tools (like pvscan...).
Diffstat (limited to 'udev')
0 files changed, 0 insertions, 0 deletions