/*
 * Copyright (c) 2018-2019 Red Hat.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 */

vdo {
	dev
}

vdo.dev {
	allocator
	bios
	block_map
	blocksize		DM:5:95
	complete_recoveries	DM:5:96
	curr_dedupe_queries	DM:5:97
	curr_vios_in_progress	DM:5:98
	data_blocks
	dedupe_advice
	errors
	flush_out		DM:5:106
	in_recovery_mode	DM:5:107
	instance		DM:5:108
	journal_blocks
	journal_disk_full	DM:5:112
	journal_entries
	journal_slab
	logical_blocks
	logical_blocksize	DM:5:118
	max_dedupe_queries	DM:5:120
	maxvios			DM:5:121
	memory_usage
	mode			DM:5:126
	overhead_blocks
	packer
	physical_blocks		DM:5:131
	read_cache
	readonly_recoveries	DM:5:135
	recovery_percentage	DM:5:136
	ref_counts
	slab
	write_policy		DM:5:144
	capacity		DM:5:149
	used			DM:5:150
	available		DM:5:151
	used_percentage		DM:5:152
	savings_percentage	DM:5:153
	hash_lock
	index
}

vdo.dev.allocator {
	slab_count		DM:5:1
	slabs_opened		DM:5:2
	slabs_reopened		DM:5:3
}

vdo.dev.bios {
	acknowledged
	in
	in_progress
	out
	journal
	meta
	page_cache
}

vdo.dev.bios.acknowledged {
	discard			DM:5:4
	flush			DM:5:5
	fua			DM:5:6
	read			DM:5:7
	write			DM:5:8
	partial
}

vdo.dev.bios.acknowledged.partial {
	discard			DM:5:9
	flush			DM:5:10
	fua			DM:5:11
	read			DM:5:12
	write			DM:5:13
}

vdo.dev.bios.in {
	discard			DM:5:14
	flush			DM:5:15
	fua			DM:5:16
	read			DM:5:17
	write			DM:5:18
	partial
}

vdo.dev.bios.in.partial {
	discard			DM:5:19
	flush			DM:5:20
	fua			DM:5:21
	read			DM:5:22
	write			DM:5:23
}

vdo.dev.bios.in_progress {
	discard			DM:5:24
	flush			DM:5:25
	fua			DM:5:26
	read			DM:5:27
	write			DM:5:28
}

vdo.dev.bios.journal {
	discard			DM:5:29
	flush			DM:5:30
	fua			DM:5:31
	read			DM:5:32
	write			DM:5:33
	completed
}

vdo.dev.bios.journal.completed {
	discard			DM:5:34
	flush			DM:5:35
	fua			DM:5:36
	read			DM:5:37
	write			DM:5:38
}

vdo.dev.bios.meta {
	discard			DM:5:39
	flush			DM:5:40
	fua			DM:5:41
	read			DM:5:42
	write			DM:5:43
	completed
}

vdo.dev.bios.meta.completed {
	discard			DM:5:44
	flush			DM:5:45
	fua			DM:5:46
	read			DM:5:47
	write			DM:5:48
}

vdo.dev.bios.out {
	discard			DM:5:49
	flush			DM:5:50
	fua			DM:5:51
	read			DM:5:52
	write			DM:5:53
	completed
}

vdo.dev.bios.out.completed {
	discard			DM:5:54
	flush			DM:5:55
	fua			DM:5:56
	read			DM:5:57
	write			DM:5:58
}

vdo.dev.bios.page_cache {
	discard			DM:5:69
	flush			DM:5:70
	fua			DM:5:71
	read			DM:5:72
	write			DM:5:73
	completed
}

vdo.dev.bios.page_cache.completed {
	discard			DM:5:64
	flush			DM:5:65
	fua			DM:5:66
	read			DM:5:67
	write			DM:5:68
}

vdo.dev.block_map {
	cache_pressure		DM:5:74
	cache_size		DM:5:75
	clean_pages		DM:5:76
	dirty_pages		DM:5:77
	discard_required	DM:5:78
	failed_pages		DM:5:79
	failed_reads		DM:5:80
	failed_writes		DM:5:81
	fetch_required		DM:5:82
	flush_count		DM:5:83
	found_in_cache		DM:5:84
	free_pages		DM:5:85
	incoming_pages		DM:5:86
	outgoing_pages		DM:5:87
	pages_loaded		DM:5:88
	pages_saved		DM:5:89
	read_count		DM:5:90
	read_outgoing		DM:5:91
	reclaimed		DM:5:92
	wait_for_page		DM:5:93
	write_count		DM:5:94
}

vdo.dev.dedupe_advice {
	stale			DM:5:100
	timeouts		DM:5:101
	valid			DM:5:102
}

vdo.dev.errors {
	invalid_advicepbncount	DM:5:103
	no_space_error_count	DM:5:104
	readonly_error_count	DM:5:105
}

vdo.dev.journal_blocks {
	batching		DM:5:145
	committed		DM:5:109
	started			DM:5:110
	writing			DM:5:146
	written			DM:5:111
}

vdo.dev.journal_entries {
	batching		DM:5:147
	committed		DM:5:113
	started			DM:5:114
	writing			DM:5:148
	written			DM:5:115
}

vdo.dev.journal_slab {
	commits_requested	DM:5:116
}

vdo.dev.data_blocks {
	used			DM:5:99
}

vdo.dev.overhead_blocks {
	used			DM:5:127
}

vdo.dev.logical_blocks {
	count			DM:5:117
	used			DM:5:119
}

vdo.dev.memory_usage {
	bios_used		DM:5:122
	bytes_used		DM:5:123
	peak
}

vdo.dev.memory_usage.peak {
	bio_count		DM:5:124
	bytes_used		DM:5:125
}

vdo.dev.packer {
	compressed_blocks
	compressed_fragments
}

vdo.dev.packer.compressed_blocks {
	written			DM:5:128
}

vdo.dev.packer.compressed_fragments {
	in_packer		DM:5:129
	written			DM:5:130
}

vdo.dev.read_cache {
	accesses		DM:5:132
	data_hits		DM:5:133
	hits			DM:5:134
}

vdo.dev.ref_counts {
	blocks_written		DM:5:137
}

vdo.dev.slab {
	journal
	summary
}

vdo.dev.slab.journal {
	blocked_count		DM:5:138
	blocks_written		DM:5:139
	disk_full_count		DM:5:140
	flush_count		DM:5:141
	tail_busy_count		DM:5:142
}

vdo.dev.slab.summary {
	blocks_written		DM:5:143
}

vdo.dev.hash_lock {
	concurrent_data_matches	DM:5:154
	concurrent_hash_collisions DM:5:155
	dedupe_advice_stale	DM:5:156
	dedupe_advice_valid	DM:5:157
}

vdo.dev.index {
	curr_dedupe_queries	DM:5:158
	entries_indexed		DM:5:159
	max_dedupe_queries	DM:5:160
	posts_found		DM:5:161
	posts_not_found		DM:5:162
	queries_found		DM:5:163
	queries_not_found	DM:5:164
	updates_found		DM:5:165
	updates_not_found	DM:5:166
}
