Re: [resend PATCH v2 0/2] virtiofs submounts that are still in use forgotten by shrinker

From: Bernd Schubert
Date: Mon Oct 02 2023 - 18:18:54 EST




On 10/2/23 17:24, Krister Johansen wrote:
Hi,
I recently ran into a situation where a virtiofs client began
encountering EBADF after the client / guest system had an OOM. After
reproducing the issue and debugging, the problem is caused by a
virtiofsd submount having the nodeid of its root dentry fogotten. This
occurs because it borrows the reference for this dentry from the parent
that is passed into the function.


Sorry, I didn't forget you, just didn't manage to review the 2nd version yet. Will definitely do this week.
Please also note that there will be merge conflicts with atomic open patches from Dharmendra/me. Although probably not too difficult to resolve.


Thanks,
Bernd