]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Fix unhandled transaction restart in evacuate_bucket()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 8 Nov 2024 03:00:05 +0000 (22:00 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:16 +0000 (01:36 -0500)
commit69785001c669e6e8681efdc3e49afee9f6a38559
treecc9a77a99880dc35184f3737c07ff36a18265255
parentb09b34499c43197a2578f179ffbcfdd5a5bc85b9
bcachefs: Fix unhandled transaction restart in evacuate_bucket()

Generally, releasing a transaction within a transaction restart means an
unhandled transaction restart: but this can happen legitimately within
the move code, e.g. when bch2_move_ratelimit() tells us to exit before
we've retried.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/move.c