summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-09-05 22:43:03 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-09 16:41:46 +0300
commitec36573dcd7b160bb9c5e6b20a43d484bc761d2e (patch)
tree4df4c50f584f86c4e565324c773c6268f6d22777 /rust/helpers/task.c
parent5a6e43af1e5341a11a719270cef9d846b0bbfaa5 (diff)
downloadlinux-ec36573dcd7b160bb9c5e6b20a43d484bc761d2e.tar.xz
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>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions