DEVEL15-windows-callback-getcellservdb-20080111
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 11 Jan 2008 19:12:16 +0000 (19:12 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 11 Jan 2008 19:12:16 +0000 (19:12 +0000)
commit2bf4a90d1ed94c54a616c028a6b2b84a43f63570
tree93d616812998849a4247be91ecc86a421f92fb78
parent75a278c098024cdf938a5dafe9679263ae612d20
DEVEL15-windows-callback-getcellservdb-20080111

LICENSE MIT

Add support for RXAFS_GetCellServDB.  Implemented by generalizing
RXAFS_GetCellByNum and special casing the index values to do the
right thing.

Conditionalize grabbing the callp->lock in the callback functions.
The race conditions in rx have long since been fixed and the potential
for deadlocks are too great.

Add a new flag CM_FLAG_NOPROBE for use in calls to cm_GetCell.  When
set the newly discovered servers will not be immediately probed.  Useful
when setting tokens, setting server preferences, or responding to cmdebug
callbacks.

(cherry picked from commit ae9dc9ad4ddd8313d24e457faf48bc15ccd2c86c)
12 files changed:
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/cm.h
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_cell.c
src/WINNT/afsd/cm_cell.h
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_server.c
src/WINNT/afsd/cm_server.h
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/cm_volume.c