diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-01-17 16:45:19 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:51 -0400 |
commit | 6e53151b7b738fe60b9295c2ff47e6b2092718b1 (patch) | |
tree | cd7f04741e5638fa69dd33aba36b2d9538400ea6 /fs/bcachefs/ec_types.h | |
parent | a39c74be8059be72fcf6c7cc2f827c38076a25db (diff) | |
download | linux-stable-6e53151b7b738fe60b9295c2ff47e6b2092718b1.tar.gz linux-stable-6e53151b7b738fe60b9295c2ff47e6b2092718b1.tar.bz2 linux-stable-6e53151b7b738fe60b9295c2ff47e6b2092718b1.zip |
bcachefs: Kill stripe->dirty
This makes bch2_stripes_write() work more like bch2_alloc_write().
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/ec_types.h b/fs/bcachefs/ec_types.h index 5b688b4394f7..847770166223 100644 --- a/fs/bcachefs/ec_types.h +++ b/fs/bcachefs/ec_types.h @@ -18,8 +18,7 @@ struct stripe { u8 nr_blocks; u8 nr_redundant; - unsigned alive:1; - unsigned dirty:1; + unsigned alive:1; /* does a corresponding key exist in stripes btree? */ unsigned on_heap:1; u8 blocks_nonempty; u16 block_sectors[BCH_BKEY_PTRS_MAX]; |