diff options
author | 2024-01-07 17:14:46 -0500 | |
---|---|---|
committer | 2024-01-21 06:01:45 -0500 | |
commit | 38c23fb809f60bda1adfc431b18200b8f68c2025 (patch) | |
tree | 48f374d06315169812d6b61cce3a2db4aa1643a7 /fs/bcachefs/ec.c | |
parent | bcachefs: drop to_text code for obsolete bps in alloc keys (diff) | |
download | linux-rng-38c23fb809f60bda1adfc431b18200b8f68c2025.tar.xz linux-rng-38c23fb809f60bda1adfc431b18200b8f68c2025.zip |
bcachefs: BTREE_TRIGGER_ATOMIC
Add a new flag to be explicit about when we're running atomic triggers.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
-rw-r--r-- | fs/bcachefs/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index d802bc63c8d0..b29b8a20bb8b 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -367,7 +367,7 @@ int bch2_trigger_stripe(struct btree_trans *trans, } } - if (!(flags & (BTREE_TRIGGER_TRANSACTIONAL|BTREE_TRIGGER_GC))) { + if (flags & BTREE_TRIGGER_ATOMIC) { struct stripe *m = genradix_ptr(&c->stripes, idx); if (!m) { |