]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Don't reexecute triggers when retrying transaction commit
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 24 Dec 2019 23:03:53 +0000 (18:03 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:33 +0000 (17:08 -0400)
commit8b3bbe2c34759aad307ced27373405e346960f13
treedce80451293164c825e30bd16bcdae6e4402ca6a
parent58e2388f9e11eb2dfb12d7d11a9a3559cd0e8945
bcachefs: Don't reexecute triggers when retrying transaction commit

This was causing a bug with transaction iterators overflowing; now, if
triggers have to be reexecuted we always return -EINTR and retry from
the start of the transaction.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_types.h
fs/bcachefs/btree_update.h
fs/bcachefs/btree_update_leaf.c
fs/bcachefs/recovery.c