]>
git.ipfire.org Git - thirdparty/kernel/stable.git/blob - fs/bcachefs/super_types.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_SUPER_TYPES_H
3 #define _BCACHEFS_SUPER_TYPES_H
7 struct block_device
*bdev
;
12 unsigned have_layout
:1;
18 struct bch_devs_mask
{
19 unsigned long d
[BITS_TO_LONGS(BCH_SB_MEMBERS_MAX
)];
22 struct bch_devs_list
{
24 u8 devs
[BCH_BKEY_PTRS_MAX
];
27 struct bch_member_cpu
{
28 u64 nbuckets
; /* device size */
29 u16 first_bucket
; /* index of first bucket used */
30 u16 bucket_size
; /* sectors */
36 u8 freespace_initialized
;
40 #endif /* _BCACHEFS_SUPER_TYPES_H */