]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-afsd-reset-acl-cache-20090312
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 14 Mar 2009 04:59:34 +0000 (04:59 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 14 Mar 2009 04:59:34 +0000 (04:59 +0000)
commite938e866da0d8cfb9606f260828c903d6c14ae0a
tree2d3b4fd421b6ff3ae83d686e1633e53826d81bea
parentafa037ff2bd27dac2d598d8f613d1c9e833e22f6
DEVEL15-windows-afsd-reset-acl-cache-20090312

LICENSE MIT

Modify the cm_ResetACLCache interface to accept an optional cm_cell_t *.
At the moment every time a token is set or cleared all of the acl info
for all cm_scache_t objects regardless of cell is reset.  This is both
a performance hit and unnecessary.  If we know the cell, only reset
the acl info for cm_scache_t objects in that cell.

If cell is not specified, reset for all cells.

(cherry picked from commit d0e4044cfeef3ce1c5d435251de9b584343225f5)
src/WINNT/afsd/afsd.h
src/WINNT/afsd/cm_aclent.c
src/WINNT/afsd/cm_aclent.h
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_user.c
src/WINNT/afsd/smb3.c
src/WINNT/afsd/smb_ioctl.c