minor cleanup to get things working from the merge
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
remaining bits to make this build
====================
add missing installer files
based on comment from chas williams. set the default write amount as is
done for ufs cache writes
(cherry picked from commit 543e49eaaea2290c4239dd79864384f11adb2607)
FIXES 21722
ndir.h has been changed. also, pthreads header doesn't match how we used it
(cherry picked from commit aee18ed884d2af05174594120ba1825bfe76c96a)
passing a random nlen into afs_GetDCache() when in write mode
seems to sometimes trigger overwrites.
(cherry picked from commit f1454a2885c410f5e886fa136a61c70cc06d42df)
FIXES 21390
revalidate the root vnode correctly so if we become replicated we don't lose
(cherry picked from commit 6d6789345ecab70c973cea46b5b262e92e153498)
don't revalidate the root afs vnode, so if root.afs becomes replicated out from under us we don't lose.
(cherry picked from commit 46e69c150286793e0c2238af01b8d4637b95dd54)
FIXES 20912
call afs_InactiveVCache() instead of afs_remunlink()
for unlink, the "inactive" refcount is 1 now instead of 0.
(cherry picked from commit caa4c12b719763c6b35080a6e5f0beaf0d53c406)
The attached patch restores the behaviour of the 1.2.x client: writes
appending to a file do not trigger a 0-length read which at best updates the
current status. If another cache manager wrote to the same file in the
meantime, the file status is updated only after the StoreData RPC (and for
the changes the last one wins).
FIXES 18613
you can end up hanging when you end up with multiple aliases for a single direct
ory (dentry) as a result of @sys or multiple mountpoints.
don't end up with multiple aliases, and avoid the situation
(cherry picked from commit f6ff3f769a8e84e9148c3c47c9e82d1bcb7d6f6a)
FIXES 20396
use the generic read/write functions, but set the superblock up correctly.
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 20396
make work with old 2.4
(cherry picked from commit eff25c1899fd0a96199764ff26ef1084228f48cd)
i guess someone was dumb at some point and failed to completely remove bogus options
(cherry picked from commit 0c678579113a84be09c8f734352f8a681751ba8e)
i slipped a rollback on the linux 2.4 dentry stuff for osi_UFS* in here
at the same time. this patch lets us use kernel inodes instead of our own pool.
(cherry picked from commit 652f3bd9cb7a5d7833a760ba50ef7c2c67214bba)
respect i_state flag
(works for my test case, if it works more broadly i will pull up)
(cherry picked from commit dcb55704f990790898780fc7a280b1a378440b9c)
FIXES 18944
don't bother dumping what may not be a readable buffer while tracing when using memcache
(cherry picked from commit b56513ffd69bbcd94afb2b1e1509aae63fa438fc)