2968 Commits

Author SHA1 Message Date
Derrick Brashear
878f8e87c2 STABLE14-volser-audit-setids-fix-20050831
FIXES 21263

type is an int, not a string


(cherry picked from commit 36c57c994ae750dd5f673de5574f0505d67b4e1f)
2005-08-31 23:14:59 +00:00
Jeffrey Altman
8f617747bd STABLE14-windows-freelance-fs-symlink-20050831
Add support to allow use of \\AFS\<foo> where <foo> is either a mount
point or symlink.   As <foo> is normally treated as a share name, we
transform it into \\AFS\all\<foo> for processing.


(cherry picked from commit 682f5ffb21575587123ecbb7a5867d1c5495dd4e)
2005-08-31 12:00:31 +00:00
Eric Williams
a31993c2aa STABLE14-windows-afslogon-code-init-20050829
Init 'code' to prevent false errors when integrated logon is disabled
and the service is not running


(cherry picked from commit 0b74a7d25c7f164702843b545615f906a6bdebbd)
2005-08-29 20:40:59 +00:00
Derrick Brashear
11ca17b196 STABLE14-openafs-1_4_0-rc2-20050828
openafs 1.4.0-rc2
openafs-stable-1_4_0-rc2
2005-08-28 21:54:48 +00:00
Jeffrey Altman
60fc1e478a STABLE14-windows-notes-20050828
updates for 1.4.0 rc2


(cherry picked from commit 308ed8fecbeb0a6eb70461016f9b726830cb7979)
2005-08-28 21:46:39 +00:00
Derrick Brashear
c545a8d505 STABLE14-fix-busyat-enforcement-20050819
FIXES 20659

enforce busyat in the other half of the if


(cherry picked from commit aec3c2b19292c552705f1c0eb3065a26e0b03649)
2005-08-28 21:43:36 +00:00
Jeffrey Altman
fa0a50cb8f STABLE14-windows-version-20050827
1.4.0001 == 1.4.0 rc2
2005-08-28 04:47:13 +00:00
Jeffrey Altman
cd8e3c2264 STABLE14-windows-default-trace-log-off-20050827
Now that OAFW is ready for a stable series, we will default "fs trace"
to off on non-Debug builds.   It can be set to on via the TraceOption
registry value.  (see registry.txt)


(cherry picked from commit b9fc404bdf16fc3a61f13bffcaadc5d598d02cbd)
2005-08-28 04:45:14 +00:00
Jeffrey Altman
7c469ff6aa STABLE14-windows-add-tid-to-mutex-20050827
Add to mutex objects the ID of the thread that holds the lock.  This
will make future debugging much easier.


(cherry picked from commit c0fea634084ee1c223c611c3ab3955a13d1ba884)
2005-08-28 04:33:24 +00:00
Jeffrey Altman
80b9f5f2de STABLE14-windows-scache-deadlock-fix-20050827
It was reported that Microsoft Word when editing files stored in AFS
would cause OAFW to fail to respond.  It was determined that a scp->mx
lock was not being released in buf_WaitIO if the no one was waiting
on the scp.

This patch corrects the deadlock and fixes some debugging messages.


(cherry picked from commit 6620b9452bb3f270ebabc29a910918b1f17225f4)
2005-08-28 04:30:57 +00:00
Jeffrey Altman
e51c51eac4 STABLE14-windows-trace-log-to-dbgview-20050820
alter the afsd_init.log tag for the TraceOption to not be
Windows Event Log specific.


(cherry picked from commit 48b0320b201c2efe153098e8a5a5e4e6470a41c5)
2005-08-26 14:48:47 +00:00
Jeffrey Altman
4324a08807 STABLE14-windows-remove-log-messages-20050826
The log message added to buf_LockedCleanAsync() during the debugging
post 1.3.8201 is output for 1/10th of all buffers once every 5 seconds.
This is a huge performance hit.  Move the message so that it is only
output for buffers that are actually dirty.

Also, change the algorithm so that the sqrt() of the number of buffers
are checked every 5 seconds instead of 1/10th.   This will do a better
job with very large cache sizes.


(cherry picked from commit ee937439adc8d8ea214c9d53aee0ee5329697c80)
2005-08-26 14:48:07 +00:00
Jeffrey Altman
872a7930d3 STABLE14-windows-better-vol-missing-messages-20050819
Use a different message for each vol error code instead of one for all


(cherry picked from commit 1a2172275920d959bab3f21aacf0689814c83c87)
openafs-stable-1_4_0-rc1
2005-08-21 01:51:45 +00:00
Jeffrey Altman
382ff1dffd STABLE14-windows-afscreds-deadlock-20050820
found a deadlock in the expiration check if a MessageBox dialog is
being displayed


(cherry picked from commit 84e761d850c4cf5f76dd844e6e6f738a35f88102)
2005-08-21 01:51:35 +00:00
Asanka Herath
c57a00bf88 STABLE14-windows-dfs-support-disable-20050820
remove the trailing 1


(cherry picked from commit df72c49fbadfa6e30538f136aa2dd0a54e58c20d)
2005-08-21 01:51:01 +00:00
Chas Williams
1aa8ddfff5 STABLE14-put-inode-speedup-20050815
FIXES 20820

don't bother with credp


(cherry picked from commit e0d9e434bb778a2507c1cd6d96c1faa2071f2b2c)
2005-08-19 18:51:50 +00:00
Derrick Brashear
3c65a57d2c STABLE14-openafs-1_4_0-rc1-20050819
obvious
2005-08-19 16:52:52 +00:00
Chas Williams
002305be3a STABLE14-rmdir-dont-hold-kernel-lock-20050819
potentially fix one of the deadlocks people have been seeing


(cherry picked from commit 49802c76b1a4cc1fb67e704e449325899ae42f0e)
2005-08-19 16:33:28 +00:00
Tom Keiser
9c746ef548 STABLE14-des-nostats-20050818
FIXES 20921

just yank for now, we'll fix for 1.4.1


(cherry picked from commit e14ef50cd5f40b403e71cc2068c98c6e06f2c612)
2005-08-18 05:56:14 +00:00
Chas Williams
2a3673230e STABLE14-linux-inactive-in-place-of-remunlink-20050818
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)
2005-08-18 05:12:59 +00:00
Derrick Brashear
4e398e1d1a STABLE14-irix-gop-lookupname-20050817
irix of course won't build when your function doesn't match the prototype


(cherry picked from commit 1bc0250ec0793ee28d4cbec3fb5b929d541aa95c)
2005-08-17 20:27:03 +00:00
Jeffrey Altman
1982814f36 STABLE14-windows-dfs-support-disable-20050817
disable dfs processing until we get the Unicode CIFS support


(cherry picked from commit e465ee95b095d1bea7e37e0aeec0f4a781cf8231)
2005-08-17 19:50:59 +00:00
Jeffrey Altman
a06ede63ca STABLE14-windows-freelance-admin-20050817
When testing for IsFreelance() use the right path for symlink rm and
fs rmmount.


(cherry picked from commit c9bba4c460b54c48fe8ecb1b35fbe2a4efd4ac19)
2005-08-17 17:07:24 +00:00
Jeffrey Altman
0d90a079a2 STABLE14-windows-version-1-4-20050817
Update version to 1.4.0000   Yay!!!!!


(cherry picked from commit adbded121354fe6727edcad303e25d4d42b17bcb)
2005-08-17 11:24:33 +00:00
Derrick Brashear
5c8ae917d0 STABLE14-kasadmin-prototyping-20050816
FIXES 20766

make kasadmin module prototyping correct again


(cherry picked from commit cc2c8c3a8efe073ff20dca356e859d0dbdcd62d9)
2005-08-16 19:48:34 +00:00
Derrick Brashear
4bab3e9801 STABLE14-sgistuff-missing-files-20050816
FIXES 20766

these were overzealously killed (by me)

fix


(cherry picked from commit 68f5f09832ae0b9207951df717a4e33910d9a147)
2005-08-16 19:00:44 +00:00
Jeffrey Altman
687f01c796 STABLE14-afssyscalls-declarations-20050815
declare lsetpag() and lpioctl() since they are exported


(cherry picked from commit fab147e843667d87323cdf9fcad2012ca942f6fd)
2005-08-15 18:36:16 +00:00
Jeffrey Altman
805ef3699f STABLE14-windows-smb-error-codes-20050815
Do not return error codes from the SMB/CIFS server that can be interpretted
by the SMB/CIFS client as meaning that the AFS Client Service is not
available.


(cherry picked from commit eb00f913748ba8651755451120a1f0d06b1e9cd2)
2005-08-15 18:29:49 +00:00
Klas Lindfors
2b1c56fa5b STABLE14-vos-format-cleanup-20050815
FIXES 20783

make sure partition name actually gets printed


(cherry picked from commit 1b0b0945caa4f6138f102dab22e78d2c4b048610)
2005-08-15 16:55:49 +00:00
Niklas Edmundsson
32583b87e4 STABLE14-aix-afsdb-20050815
FIXES 20801

make afsdb work on aix.
use storage as thread-local when it is


(cherry picked from commit e4ca2e597c85ae8667e3963db847aab83aaf0ce2)
2005-08-15 16:52:34 +00:00
Jeffrey Altman
372cd0a653 STABLE14-windows-afscreds-20050814
When tokens expire, do not display an obtain tokens dialog if there
is no network connectivity to the kdc for the realm associated with
the cell.

In the en_US build, stop displaying the expiration time of tokens
after the tokens expire.


(cherry picked from commit 7c34c9b5c0fbdf0b9b9429c2e763c635857974ab)
2005-08-14 12:27:40 +00:00
Jeffrey Altman
0e6c760490 STABLE14-audit-fetchacl-20050813
Include the ACL value in the FetchACL logging.  This combined with
StoreACL can be used to compute ACL changes.


(cherry picked from commit 50c5210a25d34bfc8cf027ccfb098460268911c8)
2005-08-14 03:11:38 +00:00
Chas Williams
db74ba09fb STABLE14-refrigerator-20050809
FIXES 20728

refrigerator takes void starting in 2.6.13


(cherry picked from commit c9b0955360b34ab1f8775c5ccc55e77037e0d312)
2005-08-10 20:23:17 +00:00
David Thompson
48b942d9db STABLE14-vos-ctime-fix-20050809
FIXES 20748

fix larger than 4 byte ctime case


(cherry picked from commit 42e081360efbfc847488aeaf4c604ea7030edccd)
2005-08-09 19:40:07 +00:00
Derrick Brashear
12d13df63d STABLE14-openafs-1387-20050809
1.3.87
openafs-devel-1_3_87
2005-08-09 14:52:17 +00:00
Chas Williams
81aeb3a22c STABLE14-linux26-umount-force-doesnt-work-20050809
this was never finished, just revoke it for now


(cherry picked from commit 0c931ef444c03fc1cc5fcb1a55fec0d32f4dda61)
2005-08-09 14:42:12 +00:00
Derrick Brashear
685c1fa594 STABLE14-logthreadnum-libafsauthent-20050808
FIXES 20412

export LogThreadNum so hings can link our libraries again


(cherry picked from commit 5740865dce2219de0826d72fe4f5bff70fadfdf3)
2005-08-08 16:39:22 +00:00
Derrick Brashear
5a44a9af70 STABLE14-revert-linux-write-dirty-pages-once-20050802
this needs to be revisited


(cherry picked from commit 3e9c1b1f1a1b3d33c6af44d1fe79810ad2a3a0f8)
2005-08-08 16:04:38 +00:00
Chas Williams
d2ee942554 STABLE14-linux-panic-20050727
FIXES 20392

call BUG() instead
2005-08-08 16:01:40 +00:00
Jeffrey Altman
af466c80e1 STABLE14-windows-notes-20050806
updates for 1.3.8700


(cherry picked from commit 7e95d1bc89ebc6b1418ca1d69970efe00d30390e)
2005-08-06 01:39:11 +00:00
Jeffrey Altman
f0c6a8cb56 STABLE14-windows-version-20050806
1.3.8700


(cherry picked from commit 520d3143e60a6f316c7bbd9677926b7ff62c01c1)
2005-08-06 01:37:48 +00:00
Jeffrey Altman
3baa6bfe36 STABLE14-windows-afscache-validate-20050806
Ensure that queues that have forward and reverse pointers are
consistent that either both are NULL or neither are.


(cherry picked from commit 4d0a6e73bf46847766512c15d2466627237409e5)
2005-08-06 01:36:11 +00:00
Rainer Toebbicke
1ff99ae826 STABLE14-client-omit-zero-length-reads-20050804
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).
2005-08-04 21:45:14 +00:00
Horst Birthelmer
563d8ac2c3 STABLE14-checkservers-set-back-deadtime-correctly-20050804
the multirx version of this does this wrong. fix it.


(cherry picked from commit b607770bc5d8a3ebe64153e906787a4fdb48eddc)
2005-08-04 21:05:15 +00:00
Jeffrey Altman
daccffc7f2 STABLE14-windows-pioctl-update-20050804
change "fs wscell" to report the registry configured cell name when
using freelance mode.

change "fs mkmount|rmmount" to require membership in AFS Client Admins
group when freelance mode is being used

change "symlink make|remove" to require membership in AFS Client Admins
group when freelance mode is being used

Move some smb init debug messages to afsd_init.log


(cherry picked from commit 81b0f9cf1d0335a1e2f8ae897ba9566c1e4962e3)
2005-08-04 17:06:37 +00:00
Rainer Toebbicke
b302164902 STABLE14-viced-dont-crash-on-link-enospc-20050803
when symlink gets ENOSPC don't assert.


(cherry picked from commit 1bdc4cea4b01ca080a458ec65e3d783f464d5548)
2005-08-03 05:46:48 +00:00
Chaskiel M Grundman
aad13a5d1a STABLE14-linux-vnode-aliases-20050802
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)
2005-08-02 20:00:58 +00:00
Derrick Brashear
5d034cb02b STABLE14-linux-fix-refrigerator-calls-20050802
it's CONFIG_PF, not CONFIG_PM


(cherry picked from commit 7ad3929e3c75aa2fabab7f72c79e42759562804f)
2005-08-02 15:04:47 +00:00
Chas Williams
554f7ffb5f STABLE14-linux-4gb-32bit-file-fix-20050802
FIXCES 20560

fix wrapping error on page offset


(cherry picked from commit 893849bdca91df3ec60b0b587c0b56500c04d70d)
2005-08-02 14:47:58 +00:00
Chas Williams
fac9d46352 STABLE14-linux-group-putback-20050802
FIXES 20562

put back reference before discarding group pointer


(cherry picked from commit 82b010d26adac3854507331b3bbbbcc2e07e50ef)
2005-08-02 06:16:33 +00:00