mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-08 00:00:12 +03:00
Some checks are pending
build / bcachefs-tools-deb (ubuntu-22.04) (push) Waiting to run
build / bcachefs-tools-deb (ubuntu-24.04) (push) Waiting to run
build / bcachefs-tools-rpm (push) Waiting to run
build / bcachefs-tools-msrv (push) Waiting to run
Nix Flake actions / nix-matrix (push) Waiting to run
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Blocked by required conditions
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
23 lines
534 B
C
23 lines
534 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _BCACHEFS_SB_MEMBERS_TYPES_H
|
|
#define _BCACHEFS_SB_MEMBERS_TYPES_H
|
|
|
|
struct bch_member_cpu {
|
|
u64 nbuckets; /* device size */
|
|
u64 nbuckets_minus_first;
|
|
u16 first_bucket; /* index of first bucket used */
|
|
u16 bucket_size; /* sectors */
|
|
u16 group;
|
|
u8 state;
|
|
u8 discard;
|
|
u8 data_allowed;
|
|
u8 durability;
|
|
u8 freespace_initialized;
|
|
u8 resize_on_mount;
|
|
u8 valid;
|
|
u8 btree_bitmap_shift;
|
|
u64 btree_allocated_bitmap;
|
|
};
|
|
|
|
#endif /* _BCACHEFS_SB_MEMBERS_H */
|