]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Add a cond_resched() to __journal_keys_sort()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 5 Sep 2024 19:43:03 +0000 (15:43 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 9 Sep 2024 13:41:46 +0000 (09:41 -0400)
commitec36573dcd7b160bb9c5e6b20a43d484bc761d2e
tree4df4c50f584f86c4e565324c773c6268f6d22777
parent5a6e43af1e5341a11a719270cef9d846b0bbfaa5
bcachefs: Add a cond_resched() to __journal_keys_sort()

Without this, we'd potentially sort multiple times without a
cond_resched(), leading to hung task warnings on larger systems.

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