summaryrefslogtreecommitdiff
path: root/fs/bcachefs/move_types.h
blob: fc0de165af9fe354b246e24ca223904c87e7dc0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_MOVE_TYPES_H
#define _BCACHEFS_MOVE_TYPES_H

struct bch_move_stats {
	enum bch_data_type	data_type;
	enum btree_id		btree_id;
	struct bpos		pos;

	atomic64_t		keys_moved;
	atomic64_t		keys_raced;
	atomic64_t		sectors_moved;
	atomic64_t		sectors_seen;
	atomic64_t		sectors_raced;
};

#endif /* _BCACHEFS_MOVE_TYPES_H */