File: sink.vol

package info (click to toggle)
glusterfs 11.2-1
  • links: PTS
  • area: main
  • in suites: forky
  • size: 28,240 kB
  • sloc: ansic: 471,238; sh: 45,610; python: 16,893; perl: 3,328; makefile: 2,014; yacc: 487; ruby: 171; lisp: 124; xml: 75; lex: 61
file content (24 lines) | stat: -rw-r--r-- 731 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# The sink xlator does not do any memory allocations. It only passes the FOPs
# through to the next xlator.
#
# For testing, there is no next xlator needed, we are only interested in the
# resource usage of the Gluster core when gfapi is used.
#
# Note: The sink xlator does not handle any calls. Mounting is possible, but
# any I/O needs additional functionality in the sink xlator.
#
volume sink
    type debug/sink
    # an option is required, otherwise the graph parsing fails
    option an-option-is-required yes
end-volume

#
# It is possible to test the resource usage of other xlators by adding them in
# the graph before the "sink".
#
#volume mdcache-sink
#    type performance/md-cache
#    subvolumes sink
#end-volume