2612 Commits

Author SHA1 Message Date
Jeffrey Altman
04d86d2038 STABLE14-windows-pcache-20050310
This patch applies all of the work done to add persistent cache support,
cache manager debugging, and a variety of bug fixes.  A full description
will be committed within doc/txt/winnotes as part of a later commit.


(cherry picked from commit 0b90d69f8a44e6c7ba20553cfb7d5cf7072bab57)
2005-03-11 07:22:30 +00:00
Tom Keiser
c5fee40e21 STABLE14-vos-listaddrs-dont-infinite-loop-20050308
FIXES 17814

avoid possible infinite loop in vos when checking a non-existant uuid


(cherry picked from commit d849943aabd248fde92686094e7bb82fb29d451b)
2005-03-11 06:52:17 +00:00
Johan Danielsson
d826928578 STABLE14-linux-osi-gettime-avoid-collision-20050308
FIXES 17802

don't reuse tv as a variable name in osi_GetTime macro


(cherry picked from commit a91a5fc68658f845f18d288925d4ef0498e29f93)
2005-03-11 06:51:42 +00:00
Chaskiel M Grundman
3d2ff936b4 STABLE14-linux-writepage-sync-20050308
FIXES 17792

"The attached patch
1) makes afs_linux_writepage_sync do the required lock_kernel and
AFS_GLOCK()'s instead of making the caller do it.
2) removes the 2.4+ afs_linux_updatepage wrapper function which just calls
afs_linux_writepage_sync and is only called by afs_linux_commit_write
3) removes the kmap/kunmap in afs_linux_{prepare,commit}_write on 2.6
since the caller of afs_linux_{prepare,commit}_write
(do_generic_file_write) does the kmap/kunmap itself, and has since before
2.4.19 (early 2.4's do require it, and it doesn't break anything to do it
twice, so !defined(AFS_LINUX26_ENV) is appropriate)"


(cherry picked from commit e9084af7bfe8ef50e4ebbc57b580b8f6fffbf230)
2005-03-11 06:51:11 +00:00
Chaskiel M Grundman
35aa275df2 STABLE14-osi-lookupname-nuke-dirvpp-20050308
FIXES 17791

osi_lookupname doesn't need dirvpp anymore


(cherry picked from commit 011a40a56da8c36ebfe6d3216d35ec5618132393)
2005-03-11 06:50:31 +00:00
Chas Williams
47ed65397b STABLE14-osi-syscall-fix-20050302
FIXES 17666

fix typo _nr should __nr


(cherry picked from commit 4e3107a00270132b23194a0e776504f4cb425251)
2005-03-11 06:49:44 +00:00
Derrick Brashear
bb1ff2e989 STABLE14-fix-linux22-20050310
fix accumulated linux 2.2 damage


(cherry picked from commit c41aa8245ed0b9847d40671fa72d34350a75a569)
2005-03-11 04:37:16 +00:00
Derrick Brashear
c1269a9fde STABLE14-volinfo-dont-bomb-on-attach-failure-20050310
let volinfo keep going in the face of failure


(cherry picked from commit d82d85f7c4802db6ddadb42657d4ffa72b6c10cf)
2005-03-11 02:55:49 +00:00
Love Hörnquist-Åstrand
6bb9549967 STABLE14-fake-admin-on-create-file-20050228
pass back admin in status bits for create file


(cherry picked from commit 248d5402fe893044e37b7395887c7e5b69829836)
2005-02-28 20:19:10 +00:00
Karl Ramm
d11cb9dde7 STABLE14-salvager-less-verbose-20050227
make the salvager less verbose


(cherry picked from commit 7c3aeba6869320852e3366b48e4549f83edab79b)
2005-02-27 18:32:54 +00:00
Derrick Brashear
daf0f6a6aa STABLE14-fix-uae-20050226
sometimes the proeprocessor is cranky. bah.


(cherry picked from commit 6477c929cda3e6ebd2be5235132eded0f3268421)
2005-02-27 04:28:05 +00:00
Jeffrey Hutzelman
bcbb185ac4 STABLE14-osi-probe-update-20050225
update osi_probe for machines with no mmap2


(cherry picked from commit 403e8cfa5e4a48a778175fc09a8c2b1637cbb127)
2005-02-25 19:52:18 +00:00
Derrick Brashear
2ab0b6a488 STABLE14-cblater-protection-and-paranoia-20050225
with additional fix from jaltman for case where we need to get a fresh fe.
don't reuse FE_LATER file entries.


(cherry picked from commit c9b63162b696589b6772847038f73bfd5d1df896)
2005-02-25 19:50:25 +00:00
Derrick Brashear
ecb47cf580 STABLE14-unified-afs-cleanup-20050225
use EIO as base error


(cherry picked from commit 21fae1faf649e946f276912d94c58ec589c4b3de)
2005-02-25 18:04:19 +00:00
Jeffrey Altman
b8b45ecf41 STABLE14-fe-clear-status-on-reuse-20050225
jeff pointed this out yesterday, it may fix more than he guessed.


(cherry picked from commit e697e7bd13e40cafb5eb146ab0a8ec207ba84f13)
2005-02-25 17:43:57 +00:00
Derrick Brashear
37fd01705f STABLE14-tviced-log-thread-at-high-loglevel-20050224
if loglevel > 999, log thread id as part of logging


(cherry picked from commit 89d655566f3c9556768e83ab9e8cc4b272be2fc0)
2005-02-24 15:23:41 +00:00
Sam Hartman
ab3c038c34 STABLE14-ppc64-linux26-param-20050224
FIXES 15581

missed before


(cherry picked from commit 202d87e6ec0fafa3c87af3dc16d46b0294c35451)
2005-02-24 05:05:50 +00:00
Derrick Brashear
700206ec40 STABLE14-fix-uae-20050223
make uae flag not secretly overflow hostFlags


(cherry picked from commit 0801ce99b717954c9748c9170ebde4dacd98ac63)
2005-02-24 04:46:39 +00:00
Chaskiel M Grundman
f64d38b2f2 STABLE14-ioctl32-linux26-20050223
FIXES 17669

add ioctl32 support for linux 2.6


(cherry picked from commit 0b1be0bedb8a7e6dcaed6e6f353d46c89966ad21)
2005-02-23 23:11:35 +00:00
Derrick Brashear
13b152d990 STABLE14-openafs-1379-20050220
make 1.3.79
openafs-devel-1_3_79
2005-02-21 01:27:59 +00:00
Jeffrey Altman
49e37244b2 STABLE14-windows-misc-20050207
smb3.c: another fix for pattern matching.  Patterns can include '<' and '>'
        instead of '*' and '?'.  Treat any pattern with angle bracket as
        star patterns

afslogon.c: instead of retrying the username lowercased if it is all
        uppercased.  retry the username lowercased if it was not already
        lowercased.  this captures the mixedcase username case.

afskfw.c: If Leash is configured to not import tickets from the MSLSA,
        neither should we.

cm_vnodeops.c: If the second to last component of a path is a symlink and
        the last component cannot be found, return NOSUCHPATH instead of
        FILE_NOT_FOUND.


(cherry picked from commit 641c2b17efbffa523818a950761e612e9fc6f5f7)
2005-02-21 01:16:39 +00:00
Jeffrey Altman
aa8b4a2f56 STABLE14-windows-misc-20050131
afskfw.c: fix cross-realm token acquisition in ANDREW vs CS CMU case

cm_aclent.c: when ACL's timeout, remove them from the associated
   cm_scache_t object's randomACL list and place them on the end
   of the ACL LRU queue

   correct tgtLifetime to be unsigned

smb3.c: fix case sensitive matching


(cherry picked from commit 09feb1be1711dbbe053b572915df4384f488eb0e)
2005-02-21 01:16:20 +00:00
Jeffrey Altman
e5d20a6c5e STABLE14-windows-longfilename-matching-20050203
retry pattern matching when ambiguous matches are found for long file
names


(cherry picked from commit d5495f26ec6e02bc09ad0d6ee6a9a62f545bfd9c)
2005-02-21 01:15:44 +00:00
Jeffrey Hutzelman
f675629a2b STABLE14-unified-osi-probe-2-20050216
FIXES 17548

update osi_probe


(cherry picked from commit cb3ec9004e095a11db6e349d6feef6d08243aa19)
2005-02-21 01:15:34 +00:00
Jeffrey Hutzelman
b812d238cb STABLE14-ubik-remote-ntoa-20050204
afs_inet_ntoa needs a prototype for 64 bit systems


(cherry picked from commit 053e901f6bbd3237ca58147d4986e1c528ae503d)
2005-02-21 01:15:27 +00:00
Chaskiel M Grundman
9da396745e STABLE14-store64-cleanup-20050212
fix several deficiencies in 64 bit file size handling


(cherry picked from commit cefe48fc1353c0f5e2831b8b81443d35e983fc96)
2005-02-21 01:15:21 +00:00
Chas Williams
05bfda27b6 STABLE14-solaris-x8664-support-20050216
FIXES 17628

add amd64 support for solaris 10


(cherry picked from commit 66735f54b79bcc610f6185df98d9caeab8476a8b)
2005-02-21 01:15:04 +00:00
Derrick Brashear
470207699f STABLE14-solais10-declares-mem-funcs-20050212
mem* funcs now declared in sys/systm.h with a different prototype so there's a conflict. (but delcared means they exist, so this is fine)


(cherry picked from commit c92132eba3250d3ef3647b578a363be970496597)
2005-02-21 01:14:57 +00:00
Derrick Brashear
54420a1dbe STABLE14-macos-dont-inactive-vnodes-were-still-referencing-20050203
don't VOP_INACTIVE if we intend to keep using the inode, the refcount will go
bogus


(cherry picked from commit a6f560b80575a246b4ee347622f1fd3f6fdd1420)
2005-02-21 01:14:18 +00:00
Chaskiel M Grundman
58fe839b11 STABLE14-linux-sysincludes-needs-slab-20050211
add linux/slab.h to includes


(cherry picked from commit 8d1d71913cebee105416affa940fe96d63b12696)
2005-02-21 01:13:58 +00:00
Derrick Brashear
73d3e534f1 STABLE14-linux-lwp-work-around-signal-lossage-20050209
some versions of linux seem to lose signals sometimes. very annoying.


(cherry picked from commit 3aaeae0ee6fa13209fff93fd5d9dfe709804cee5)
2005-02-21 01:13:50 +00:00
Guillaume Rousse
dd06cd3168 STABLE14-linux-libafs-fix-20050207
create osi_vfs.h in the right place


(cherry picked from commit 96e09aa1099e7877dffb5134fe24edfa261032b4)
2005-02-21 01:13:37 +00:00
Chas Williams
cf6c38b984 STABLE14-linux-flush-release-rewrite-20050209
FIXES 17509

rewrite afs_linux_release and afs_linux_flush


(cherry picked from commit a0732a579ac1aea9cfdee2de530b3afcffe30bac)
2005-02-21 01:13:24 +00:00
Chaskiel M Grundman
9a21ac04eb STABLE14-linux-avoid-leaking-refs-20050211
FIXES 17451

hopefully this fixes all the not-able-to-unmount leaks


(cherry picked from commit e4552599b0e1d1ef8b8100a901510591f2e0c6b7)
2005-02-21 01:13:04 +00:00
Chas Williams
acf1282e3d STABLE14-linux26-inode-got-i-sb-list-20050204
another thing to do at inode initialization
2005-02-21 01:12:52 +00:00
Chas Williams
785bb3f524 STABLE14-ia64-smp-definition-20050220
FIXES 17640

change how smp is defined so we pick up a mutex


(cherry picked from commit f7ff156ec1f2daf9c9c81c44314034e178132717)
2005-02-21 01:12:43 +00:00
Tom Keiser
49760555b3 STABLE14-fix-multirx-checkservers-20050216
FIXES 17549

put results in an array.


(cherry picked from commit ef85cb144dc433879cfd05d0fd3a380d7ce78098)
2005-02-21 01:12:38 +00:00
Harald Barth
ed74ce6658 STABLE14-fbsd-amd64-20050212
initial fbsd support for amd64


(cherry picked from commit d164b1d311f55af08e020d3d163f67595271b003)
2005-02-21 01:12:09 +00:00
Derrick Brashear
212d9ca658 STABLE14-client-conndeadtime-tunable-20050209
make the fs and not just the vldb interface dead time tunable


(cherry picked from commit 08b998f798b44673f058b6a262c81cc077f20123)
2005-02-21 01:12:03 +00:00
Derrick Brashear
1042530937 STABLE14-1378-20050130
1.3.78 release
openafs-devel-1_3_78
2005-01-31 04:36:55 +00:00
Derrick Brashear
df63d437b9 STABLE14-cleanup-20050130
get all the drift between head and 1.4 branch
2005-01-31 04:34:42 +00:00
Chaskiel M Grundman
5b6fe6a693 STABLE14-linux-tasklist-lock-weak-20050129
FIXES 17424

weak binding to tasklist_lock


(cherry picked from commit 51ec9e099e22e16dbf8aee3333568b9ff26abd3f)
2005-01-31 04:25:31 +00:00
Jeffrey Hutzelman
b3e2c31138 STABLE14-osi-probe-syscall-20050129
FIXES 17405

add osi_probe


(cherry picked from commit f126dbdbe226bb05687f0bcbd0e379431f666219)
2005-01-31 04:25:13 +00:00
Jeffrey Altman
f7bb850073 STABLE14-createx-null-ptr-20050126
Don't release null scps


(cherry picked from commit 4cc0394af02a07a0000dd4ce9384398d8b03a6f4)
2005-01-31 04:24:58 +00:00
Jeffrey Altman
d82351b409 STABLE14-windows-aclent-20050126
Undo the FreeACLEnt lock as it is an automatic deadlock


(cherry picked from commit 4c27de95394d44e2066413de7eca65315b83cacb)
2005-01-31 04:24:44 +00:00
Chas Williams
3e6880c806 STABLE14-revert-afs-indextimes-in-dcache-20050125
FIXES 17377

indexTimes needs to persist, revert for now


(cherry picked from commit ff2e55343fdf14d730825c8e09dbe42b6037abb8)
2005-01-31 04:24:34 +00:00
Jeffrey Altman
27cdf06c28 STABLE14-winnotes-update-20050126
add dr watson info to install notes.

update changes list


(cherry picked from commit e41837e876f7dc947e8718b6dc972b803023eae5)
2005-01-31 04:24:05 +00:00
Jeffrey Altman
c0dc03d391 STABLE14-windows-misc-20050126
* The list of ACL entries was becoming corrupted because the function
    which obtained a free entry was doing so without the appropriate lock
    being held.

  * Changed the default @sys name list to "x86_win32 i386_w2k i386_nt40"
    for 32-bit x86 systems.  The default for itanium will be "ia64_win64"
    and "amd64_win64" for amd 64-bit processors.


(cherry picked from commit 516614090190f34cb74ec741cf06f86384bff4d1)
2005-01-31 04:23:57 +00:00
Jeffrey Altman
fa4b62ebb4 STABLE14-windows-misc-20050125
The list of ACL entries was being corrupted because the function
which obtains a free ACL entry was doing so without the appropriate
lock being held.

Returning Not A Directory is not the right thing to do when we are
attempting to resolve a path if the error is found on one of the
intermediary path components.  Instead return No Such Path or
No Such File as appropriate.


(cherry picked from commit ff3436446e1c8447d0f9703b088c6d65c6845aa0)
2005-01-31 04:23:45 +00:00
Jim Rees
7b9ca68155 STABLE14-obsd-vattrs-20040125
compare vattrs against VNOVAL, not -1
fixes mode setting now that modes are 32 bits


(cherry picked from commit e86eb73e30fe492c8be99a0a7a4788ec1b136ead)
2005-01-31 04:23:36 +00:00