Add a new fs newalias man page. Add -help to the synopsis and options of
the other new man pages. Add additional missing links in the fs man page.
Fix some wording in the CellAlias man page.
(cherry picked from commit e7742db31f68acf2d227c13840e0a0ed9291d247)
Add manual page for fs listaliases. Also add the links in the fs(1) man
page and update README more for the current to-do list.
(cherry picked from commit 95cfc0cfafe5c0a3f9f8ff07cb3c2be29fe9e3fc)
Complete the documentation of the afsd flags and update a few things like
-settime and -nosettime. Add man pages for fs setcrypt, fs getcrypt, and
CellAlias. Based on work by Jason Edgecombe and then extensively edited,
so any errors I probably introduced.
(cherry picked from commit 8761673c608986d32bb858b26441b09c24f41696)
The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server. As the directory size increases, the clock
time necessary to perform the reload increases.
This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c. It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:
1. the data version on the directory as a result of the change
was incremented by one.
2. all of the directory buffers required for the update are in
the cache.
If these conditions are not met, the directory is reloaded from the file
server.
(cherry picked from commit 9353e122a33044df752e61de95f155f63876f0a2)
FIXES 15855
In cm_NameI, keep track of what fids were crossed when evaluating the
path. If we discover a loop return a CM_ERROR_TOO_MANY_SYMLINKS error.
This resolves the complaint that when infinite loops are hit in the afs
name space the afsd_service.exe process uses 100% of the CPU.
(cherry picked from commit ac5346c3703e199eaabf8eeb7e156e42644092c4)
The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server. As the directory size increases, the clock
time necessary to perform the reload increases.
This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c. It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:
1. the data version on the directory as a result of the change
was incremented by one.
2. all of the directory buffers required for the update are in
the cache.
If these conditions are not met, the directory is reloaded from the file
server.
(cherry picked from commit c4047f6cb52927890329b09669b1a2686ace6059)
if all of the servers are down when a callback is due to expire
delay the expiration until at least one server is available.
this prevents some applications that are running when the CM
is off the network from failing if their pages are swapped out.
(cherry picked from commit 10b76dffa0ece0cca898637a00d34b27809b9eb9)
FIXES 65988
Mention aklog and kinit in klog's man page, add -dynroot to the afsd man
page, and mention that -skipauth tells uss not to create any Kerberos
principal and this has to be done separately.
(cherry picked from commit 2367c273bbfd3cbecc72b770ede579e60da153e2)
FIXES 66302
change text of error message to indicate that the user is not a member
of the AFS Administrators Group instead of not being a Windows administrator.
(cherry picked from commit d7d12d7c9b9cec32d4415b9d7bf1058d99d63d14)
add an rpc, give vos a switch, allow incrementals which do not include directory objects
(cherry picked from commit 16b32c134590fbdb13b83ea71be0579338ab8f7e)
based on code from jon nials
validate a dumpfile as being complete (look for end of dump signature)
(cherry picked from commit 982f455debcb50d0a59b0997085e7b2e9475b604)
the single directory search routine used when there are no wildcards
does not perform a bulk stat operation. do not set the flag on the
cm_scache_t.
(cherry picked from commit a8b270d5a3db7a873de5cb945ccfc5c6425798f9)
instead of this arcane ifdef which is flawed, we know which platforms support 64 bit types...
(cherry picked from commit 2abf6e204c6f72993021a45485523aa04bca8ac2)
Undefine USE_UCONTEXT on sparc32 Linux since glibc doesn't implement
getcontext/setcontext for that architecture.
(cherry picked from commit 7fb5e02ff4d9a7fe70b2ecbfdb50065d7e6322ff)
replace all calls to ubik_Call(FOO, ...) with ubik_FOO(...)
correct the incorrect parameter lists for ubik_FOO()
(cherry picked from commit 82cb8884c8c962c7fbc3fc75f923e3dfdfc24a76)
seems like compilers really hate des. it should would be nice to euthanize this.
it's a shame there's no simple license-friendly des library to use
(cherry picked from commit d8457dd359fccfc461b220061d23cf7600a95a4c)
don't try so hard to give up all callbacks. If the server doesn't
respond in 10 seconds, too bad!
cleanup the server probe code a bit. reorganize the code so that we
can avoid unnecessary pointer evaluation. add a missing include file.
(cherry picked from commit 90bc0a7f3108372bfc9408127fea17d37025c9ae)
* Do not give back callbacks to down servers
* Output more cm_scache_t data in afsd_alloc.log
* call VolStatus_Service_Stopped after the service has stopped
(cherry picked from commit 5e29856f7a079fbfb7d3331a1b57414413c0a484)
FIXES 53210
fixes a missing pointer declaration that would presumably
break on 64-bit architectures.
(cherry picked from commit 62bf68f4ba952d06aa82e1607a43a72a203befd0)