Home
last modified time | relevance | path

Searched hist:c872afa22420cbbeb8c78656926928b9e2abae18 (Results 1 – 4 of 4) sorted by relevance

/linux/fs/bcachefs/
H A Dbtree_update.cdiff 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 Dsnapshot.cdiff 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 Dbtree_iter.hdiff 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 Dfsck.cdiff 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>