]> git.sesse.net Git - bcachefs-tools-debian/blob - libbcachefs/move_types.h
Update bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for alloc btree
[bcachefs-tools-debian] / libbcachefs / move_types.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_MOVE_TYPES_H
3 #define _BCACHEFS_MOVE_TYPES_H
4
5 struct bch_move_stats {
6         enum bch_data_type      data_type;
7         enum btree_id           btree_id;
8         struct bpos             pos;
9
10         atomic64_t              keys_moved;
11         atomic64_t              keys_raced;
12         atomic64_t              sectors_moved;
13         atomic64_t              sectors_seen;
14         atomic64_t              sectors_raced;
15 };
16
17 #endif /* _BCACHEFS_MOVE_TYPES_H */