Re: [PATCH] xfs: fix nofs context corruption in xfs_btree_split_worker

"Zhou, Yun" <[email protected]>
Newsgroups org.kernel.vger.linux-xfs,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.