[PATCH 0/2] Add cond_resched() in some place to avoid softlockup

From: alexjlzheng

Date: Thu Feb 05 2026 - 03:26:32 EST


From: Jinliang Zheng <alexjlzheng@xxxxxxxxxxx>

We recently observed several XFS-related softlockups in non-preempt
kernels during stability testing, and we believe adding a few
cond_resched()calls would be beneficial.

Jinliang Zheng (2):
xfs: take a breath in xlog_ioend_work()
xfs: take a breath in xfsaild()

fs/xfs/xfs_buf.c | 2 ++
fs/xfs/xfs_log_cil.c | 3 +++
2 files changed, 5 insertions(+)

--
2.49.0