Re: Possible bug report: kernel 6.5.0/6.5.1 high load when CIFS share is mounted (cifsd-cfid-laundromat in"D" state)

From: Paulo Alcantara
Date: Mon Oct 23 2023 - 10:07:17 EST


"Dr. Bernd Feige" <bernd.feige@xxxxxxxxxxxxxxxxxxxxx> writes:

> I can confirm that the patches apply cleanly on 6.5.8 and help a lot
> with the issue here (vers=3.1.1, gentoo client, MS AD server with DFS).

Thanks for testing it.

Steve, I would suggest below commits for v6.5.y

238b351d0935 ("smb3: allow controlling length of time directory entries are cached with dir leases")
6a50d71d0fff ("smb3: allow controlling maximum number of cached directories")
2da338ff752a ("smb3: do not start laundromat thread when dir leases disabled")
e95f3f744650 ("smb: client: make laundromat a delayed worker")
81ba10959970 ("smb: client: prevent new fids from being removed by laundromat")

If OK, please ask stable team to pick those up.