summaryrefslogtreecommitdiff
path: root/fs/bcachefs/data_update.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-05 23:28:44 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-14 05:45:03 +0300
commit09b0283ee23a02094a43a9b93146d1060c58fc3a (patch)
treef471e38290bd5815a486d41cea77ff1d7bdda321 /fs/bcachefs/data_update.c
parent3b8c4507779691984e31e64e0b80abb03cc02d0d (diff)
downloadlinux-09b0283ee23a02094a43a9b93146d1060c58fc3a.tar.xz
bcachefs: Make sure to drop/retake btree locks before reclaim
We really don't want to be invoking memory reclaim with btree locks held: even aside from (solvable, but tricky) recursion issues, it can cause painful to diagnose performance edge cases. This fixes a recently reported issue in btree_key_can_insert_cached(). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Reported-by: Mateusz Guzik <mjguzik@gmail.com> Fixes: https://lore.kernel.org/linux-bcachefs/CAGudoHEsb_hGRMeWeXh+UF6po0qQuuq_NKSEo+s1sEb6bDLjpA@mail.gmail.com/T/
Diffstat (limited to 'fs/bcachefs/data_update.c')
0 files changed, 0 insertions, 0 deletions