Re: [PATCH v2] xfs: enable WQ_MEM_RECLAIM on m_sync_workqueue

NeilBrown
2024-07-03T11:29:09Z

On Mon, 01 Jul 2024, Christoph Hellwig wrote:
> On Mon, Jul 01, 2024 at 09:46:36AM +1000, Dave Chinner wrote:
> > Oh, that's nasty.
>
> Yes.
>
> > We now have to change every path in every filesystem that NFS can
> > call that might defer work to a workqueue.
>
> Yes. That's why the kernel for a long time had the stance that using
> network file systems / storage locally is entirely unsupported.

I know nothing of this stance. Do you have a reference?

I have put a modest amount of work into ensure NFS to a server on the
same machine works and last I checked it did - though I'm more
confident of NFSv3 than NFSv4 because of the state manager thread.

Also /dev/loop can be backed by a file, and have a filesystem mounted on
it, and if that didn't work I'm sure we would have complaints.

>
> If we want to change that we'll have a lot of work to do.

What sort of work are you thinking of?

Thanks,
NeilBrown

>
>
>