public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* What is the long term fix for the idmapper key-quota problem.
@ 2013-10-21  5:05 NeilBrown
  2013-10-22 14:49 ` Anna Schumaker
  0 siblings, 1 reply; 3+ messages in thread
From: NeilBrown @ 2013-10-21  5:05 UTC (permalink / raw)
  To: Bryan Schumaker; +Cc: NFS

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]


Hi,
 as you probably know, request_key() imposes a quota on
the number of keys that can be requested, which by default is quite low (200).
When idmap exceeds this quota, request_key() returns an error and
the result is userspace sees "nobody" as the owner.

A short term fix is to fiddle some sysctl values, but I wonder if any long
term fix is being planned.

Probably the sensible thing would be for nfs-idmap to bypass the quota.
As keys are not held active for very long at a time, they should be garbage
collected in due course.
There is currently no interface to request this but I suspect one could be
added.

(I want to fixed this for openSUSE-13.1, and don't want to diverge too far
from mainline).

Thanks,
NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-23  0:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21  5:05 What is the long term fix for the idmapper key-quota problem NeilBrown
2013-10-22 14:49 ` Anna Schumaker
2013-10-22 21:30   ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox