Re: [PATCH v1] writback: remove WQ_MEM_RECLAIM flag in bdi_wq
From: Christoph Hellwig
Date: Mon Jul 21 2025 - 03:13:50 EST
On Mon, Jul 21, 2025 at 03:40:24PM +0900, hy50.seo wrote:
> if it write with the write back option with f2fs, kernel panic occurs.
> Because the write back function uses bdi_wq and WQ_MEM_RECLAIM flag
> is included and created.
> However, this function calls f2fs_do_quota() of f2fs and finally tries to
> perform quota_release_work.
> the quota_release_work is performed in the events_unbound workqueue,
> but the WQ_MEM_RECLAIM flag is not included.
And what makes you assume the WQ_MEM_RECLAIM was added just for fun
and can simply be deleted?