1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-29 15:22:30 +03:00
lvm2/lib/filters
Peter Rajnoha c2981cf921 filters: use usable device filter and separate lvmetad filter chain so it's not reevaluated for any lvmetad response
With this change, the filter chains used look like this now:

  A) When *lvmetad is not used*:
    - persistent filter -> regex filter -> sysfs filter ->
      global regex filter -> type filter ->
      usable device filter(FILTER_MODE_NO_LVMETAD) ->
      mpath component filter -> partitioned filter ->
      md component filter

  B) When *lvmetad is used* (two separate filter chains):
     - the lvmetad filter chain used when scanning devs for lvmetad update:
       sysfs filter -> global regex filter -> type filter ->
       usable device filter(FILTER_MODE_PRE_LVMETAD) ->
       mpath component filter -> partitioned filter ->
       md component filter

     - the filter chain used for lvmetad responses:
       persistent filter -> usable device filter(FILTER_MODE_POST_LVMETAD) ->
       regex filter
2014-09-30 13:22:11 +02:00
..
filter-composite.c filters: check for mpath before opening devs 2013-08-13 23:26:58 +01:00
filter-md.c gcc: replace #ifdef linux with __linux__ 2013-11-13 13:56:29 +00:00
filter-mpath.c cleanup: use just PATH_MAX size 2014-08-19 14:33:06 +02:00
filter-partitioned.c filters: check for mpath before opening devs 2013-08-13 23:26:58 +01:00
filter-persistent.c filters: use usable device filter and separate lvmetad filter chain so it's not reevaluated for any lvmetad response 2014-09-30 13:22:11 +02:00
filter-regex.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
filter-sysfs.c filters: drop extra slash from sysfs path 2013-11-22 20:53:31 +01:00
filter-type.c filters: check for mpath before opening devs 2013-08-13 23:26:58 +01:00
filter-usable.c filters: add "usable device" filter 2014-09-30 13:11:58 +02:00
filter.h filters: add "usable device" filter 2014-09-30 13:11:58 +02:00