Skip to contentSkip to conversation

master - filters: add comments about internal filter position in filter chain

PATCH Peter Rajnoha 1 participant 1 message Jun 23, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=79eaaee50af92d2fd6f6590670787c87b9ce0225
Commit:        79eaaee50af92d2fd6f6590670787c87b9ce0225
Parent:        6513a7a44950ded037e1fb3e974a089b8e5690df
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Thu Jun 23 09:37:51 2016 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Thu Jun 23 09:37:51 2016 +0200

filters: add comments about internal filter position in filter chain

---
 lib/commands/toolcontext.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
lib/commands/toolcontext.c +2 -2
index 3ee9410..d263e13 100644
@@ -1166,7 +1166,7 @@ bad:
  * If lvmetad is used, there are three filter chains:
  *
  *   - cmd->lvmetad_filter - the lvmetad filter chain used when scanning devs for lvmetad update:
- *     sysfs filter -> global regex filter -> type filter ->
+ *     sysfs filter -> internal filter -> global regex filter -> type filter ->
  *     usable device filter(FILTER_MODE_PRE_LVMETAD) ->
  *     mpath component filter -> partitioned filter ->
  *     md component filter -> fw raid filter
@@ -1180,7 +1180,7 @@ bad:
  * If lvmetad is not used, there's just one filter chain:
  *
  *   - cmd->filter == cmd->full_filter:
- *     persistent filter -> sysfs filter -> global regex filter ->
+ *     persistent filter -> sysfs filter -> internal filter -> global regex filter ->
  *     regex_filter -> type filter -> usable device filter(FILTER_MODE_NO_LVMETAD) ->
  *     mpath component filter -> partitioned filter -> md component filter -> fw raid filter
  *