diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-18 22:11:50 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:54 -0400 |
commit | 27616a31241e0625ee063f2cacd8c8e339b2de65 (patch) | |
tree | de3a0ccf8a385bcf762e5312007d0a254b4ff84e /fs/bcachefs/ec_types.h | |
parent | 4b1e669995a6c19f1e1cc8a600101edf7fe9277e (diff) |
bcachefs: Simplify ec stripes heap
Now that we have a separate data structure for tracking open stripes,
the stripes heap can track all existing stripes, which is a nice
simplification.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec_types.h')
-rw-r--r-- | fs/bcachefs/ec_types.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/bcachefs/ec_types.h b/fs/bcachefs/ec_types.h index 2bf26d254b2c..e2b02a82de32 100644 --- a/fs/bcachefs/ec_types.h +++ b/fs/bcachefs/ec_types.h @@ -11,15 +11,10 @@ struct bch_replicas_padded { struct stripe { size_t heap_idx; - u16 sectors; u8 algorithm; - u8 nr_blocks; u8 nr_redundant; - - unsigned alive:1; /* does a corresponding key exist in stripes btree? */ - unsigned on_heap:1; u8 blocks_nonempty; }; |