1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _BCACHEFS_DISK_GROUPS_TYPES_H
3#define _BCACHEFS_DISK_GROUPS_TYPES_H
4
5struct bch_disk_group_cpu {
6 bool deleted;
7 u16 parent;
8 u8 label[BCH_SB_LABEL_SIZE];
9 struct bch_devs_mask devs;
10};
11
12struct bch_disk_groups_cpu {
13 struct rcu_head rcu;
14 unsigned nr;
15 struct bch_disk_group_cpu entries[] __counted_by(nr);
16};
17
18#endif /* _BCACHEFS_DISK_GROUPS_TYPES_H */
19

source code of linux/fs/bcachefs/disk_groups_types.h