xfs: place the CIL under nofs allocation context
authorDave Chinner <dchinner@redhat.com>
Mon, 15 Jan 2024 22:59:48 +0000 (09:59 +1100)
committerChandan Babu R <chandanbabu@kernel.org>
Tue, 13 Feb 2024 12:37:35 +0000 (18:07 +0530)
commitc704ecb2410e3496314136fa3eb748177936d867
tree54b877d46b8be7ef85773802d3b47efe217a8556
parent2c1e31ed5c88fe5dd9d8b6398cb1ec9cfe0f4d9a
xfs: place the CIL under nofs allocation context

This is core code that needs to run in low memory conditions and
can be triggered from memory reclaim. While it runs in a workqueue,
it really shouldn't be recursing back into the filesystem during
any memory allocation it needs to function.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/xfs_log_cil.c