Re: [PATCH] xfs: fix nofs context corruption in xfs_btree_split_worker
From: Zhou, Yun
Date: Fri Jul 24 2026 - 04:22:17 EST
On 7/24/2026 4:06 PM, Christoph Hellwig wrote:
On Fri, Jul 24, 2026 at 03:54:10PM +0800, Zhou, Yun wrote:
Thanks a lot.
I'd like to understand the scope you have in mind. Should the removal of
xfs_trans_set/clear_context and current_set/restore_flags_nested be part of
my nofs series, or is that something you'd prefer to handle separately?
I don't care too strongly. Maybe we should a minimal fix for the bug
in ASAP, and then we just need to agree who cleans up after that.
Happy to do that myself if you don't have the time or aren't interested.
Thanks. The patch I sent is already a minimal fix - it just replaces
xfs_trans_set/clear_context with memalloc_nofs_save/restore in the
worker. Could you take another look?
BR,
Yun