Searched hist:c872afa22420cbbeb8c78656926928b9e2abae18 (Results 1 – 4 of 4) sorted by relevance
/linux/fs/bcachefs/ |
H A D | btree_update.c | diff c872afa22420cbbeb8c78656926928b9e2abae18 Sun Sep 10 22:24:02 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Fix bch2_propagate_key_to_snapshot_leaves()
When we handle a transaction restart in a nested context, we need to return -BCH_ERR_transaction_restart_nested because we invalidated the outer context's iterators and locks.
bch2_propagate_key_to_snapshot_leaves() wasn't doing this, this patch fixes it to use trans_was_restarted().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | snapshot.c | diff c872afa22420cbbeb8c78656926928b9e2abae18 Sun Sep 10 22:24:02 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Fix bch2_propagate_key_to_snapshot_leaves()
When we handle a transaction restart in a nested context, we need to return -BCH_ERR_transaction_restart_nested because we invalidated the outer context's iterators and locks.
bch2_propagate_key_to_snapshot_leaves() wasn't doing this, this patch fixes it to use trans_was_restarted().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | btree_iter.h | diff c872afa22420cbbeb8c78656926928b9e2abae18 Sun Sep 10 22:24:02 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Fix bch2_propagate_key_to_snapshot_leaves()
When we handle a transaction restart in a nested context, we need to return -BCH_ERR_transaction_restart_nested because we invalidated the outer context's iterators and locks.
bch2_propagate_key_to_snapshot_leaves() wasn't doing this, this patch fixes it to use trans_was_restarted().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | fsck.c | diff c872afa22420cbbeb8c78656926928b9e2abae18 Sun Sep 10 22:24:02 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Fix bch2_propagate_key_to_snapshot_leaves()
When we handle a transaction restart in a nested context, we need to return -BCH_ERR_transaction_restart_nested because we invalidated the outer context's iterators and locks.
bch2_propagate_key_to_snapshot_leaves() wasn't doing this, this patch fixes it to use trans_was_restarted().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|