]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
Provide a protection DB Name<->ID cache
authorDavid Howells <dhowells@redhat.com>
Wed, 14 May 2014 11:14:52 +0000 (12:14 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 14 May 2014 11:14:52 +0000 (12:14 +0100)
commitd71b5e13d9aff54e295d4bc0fb7a28f43e531a25
tree6bd3015246347340a838f047e5c72f4313fc31a1
parentfe765c80e26b7098422dee85dbe07ee50b7d680c
Provide a protection DB Name<->ID cache

Provide a protection DB Name<->ID cache to eliminate redundant lookups and to
reduce the number of NameToID and IDToName RPC calls made by consolidating
multiple requests into single calls.

Signed-off-by: David Howells <dhowells@redhat.com>
suite/commands/pts/delete.py
suite/commands/pts/listowned.py
suite/lib/cell.py
suite/lib/prcache.py [new file with mode: 0644]