1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/lib/metadata
Peter Rajnoha 5011cac9cf filters: add cmd->full_filter - composite of cmd->filter and cmd->lvmetad_filter
There are actually three filter chains if lvmetad is used:
  - cmd->lvmetad_filter used when when scanning devices for lvmetad
  - cmd->filter used when processing lvmetad responses
  - cmd->full_fiilter (which is just cmd->lvmetad_filter + cmd->filter chained together) used
    for remaining situations

This patch adds the third one - "cmd->full_filter" - currently this is
used if device processing does not fall into any of the groups before,
for example, devices which does not have the PV label yet and we're just
creating a new one or we're processing the devices where the list of the
devices (PVs) is not returned by lvmetad initially.

Currently, the cmd->full_filter is used exactly in these functions:
  - lvmcache_label_scan
  - _pvcreate_check
  - pvcreate_vol
  - lvmdiskscan
  - pvscan
  - _process_each_label

If lvmetad is used, then simply cmd->full_filter == cmd->filter because
cmd->lvmetad_filter is NULL in this case.
2014-10-02 13:06:46 +02:00
..
cache_manip.c cache: fix regression and invert test 2014-09-19 16:18:39 +02:00
lv_alloc.h raid/misc: Allow creation of parallel areas by LV vs segment 2014-06-25 21:20:41 -05:00
lv_manip.c cleanup: Use segtype.h definitions of segment type names wherever possible 2014-09-24 15:24:41 +02:00
lv.c cleanup: switch to use CHANGE_AEY 2014-09-19 15:51:31 +02:00
lv.h cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
merge.c cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
metadata-exported.h cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
metadata.c filters: add cmd->full_filter - composite of cmd->filter and cmd->lvmetad_filter 2014-10-02 13:06:46 +02:00
metadata.h lvconvert: Further restrictions on cache/pools. 2014-09-17 23:00:41 +01:00
mirror.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
pool_manip.c thin: check for active lv 2014-09-15 13:51:19 +02:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c misc: after releasing a PV segment, merge it with any adjacent free space 2014-06-25 22:04:58 -05:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c cleanup: Use segtype.h definitions of segment type names wherever possible 2014-09-24 15:24:41 +02:00
replicator_manip.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
snapshot_manip.c cleanup: fix typo and use vg mempool 2014-09-24 10:54:47 +02:00
thin_manip.c memlock: drop uneeded lock 2014-09-19 01:13:49 +02:00
vg.c vgchange: support clustered conversion for active lv 2014-09-17 14:41:42 +02:00
vg.h lvmetad: more reuse precommit buffer 2014-03-01 14:08:58 +01:00