summaryrefslogtreecommitdiffstats
path: root/lib/cache/lvmetad.h
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: use proper activation_change_tZdenek Kabelac2012-08-231-1/+3
|
* activate: add autoactivation hooksPeter Rajnoha2012-06-281-8/+11
| | | | | | | | | | | | | | | | 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...).
* Scan all devices for lvmetad if 'pvscan --cache' used without device list.Alasdair Kergon2012-03-031-9/+8
|
* fix non-lvmetad pvscan macroAlasdair Kergon2012-03-021-1/+1
|
* Pass struct device around internally rather than dev_t.Alasdair Kergon2012-03-021-4/+9
| | | | | | | Add 3rd daemon return state "unknown" for lookups that are carried out successfully but don't find the item requested. Avoid issuing error messages when it's expected that a device that's being looked up in lvmetad might not be there.
* Allow multiple device names with pvscan --lvmetad.Alasdair Kergon2012-03-021-3/+3
| | | | | | Hold global lock in pvscan --lvmetad. (This might need refinement.) Add PV name to "PV gone" messages. Adjust some log message severities. (More changes needed.)
* Bypass lvmetad fns when not configured to use lvmetad.Alasdair Kergon2012-02-281-2/+20
|
* A bit of documentation for lvmetad_vg_lookup.Petr Rockai2012-02-261-1/+6
|
* The lvmetad client-side integration. Only active when use_lvmetad = 1 is set inPetr Rockai2012-02-231-0/+99
lvm.conf *and* lvmetad is running.