Comment 61 for bug 2009325

Revision history for this message
Chengen Du (chengendu) wrote :

Hi,

I would like to share my thoughts on the increase in LOOKUP operations, which may be attributed to a new mechanism introduced in the Linux 6.2-rc3 NFS client side.
This mechanism clears the access cache as soon as the cache timestamp becomes older than the user's login time.
Its primary objective is to ensure that the NFS client's access cache doesn't become stale due to any changes made to the user's group membership on the server after the user has already logged in on the client.

It's worth noting that POSIX only refreshes the user's supplementary group information upon login.
Upstream has considered that it's not unreasonable for users to expect the access cache to be cleared when they log out and log back in again,
with all behavior returning to normal after the replacement.
You can find all the details logged in the commit 0eb43812c027 (NFS: Clear the file access cache upon login).

If you have any concerns or experience unexpected behavior, please don't hesitate to inform us.
We are always ready to discuss and collaborate with upstream to resolve any issues.
Thank you for taking the time to test and provide us with valuable feedback.