2840 Commits

Author SHA1 Message Date
Derrick Brashear
08b998f798 client-conndeadtime-tunable-20050209
make the fs and not just the vldb interface dead time tunable
2005-02-10 03:57:27 +00:00
Derrick Brashear
3aaeae0ee6 linux-lwp-work-around-signal-lossage-20050209
some versions of linux seem to lose signals sometimes. very annoying.
2005-02-10 03:02:46 +00:00
Jeffrey Altman
641c2b17ef 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.
2005-02-07 19:27:35 +00:00
Guillaume Rousse
96e09aa109 linux-libafs-fix-20050207
create osi_vfs.h in the right place
2005-02-07 15:31:31 +00:00
Chas Williams
5d0ed43773 linux26-inode-got-i-sb-list-20050204
another thing to do at inode initialization
2005-02-04 21:13:51 +00:00
Jeffrey Hutzelman
053e901f6b ubik-remote-ntoa-20050204
afs_inet_ntoa needs a prototype for 64 bit systems
2005-02-04 21:09:58 +00:00
Jeffrey Altman
d5495f26ec windows-longfilename-matching-20050203
retry pattern matching when ambiguous matches are found for long file
names
2005-02-04 04:55:51 +00:00
Derrick Brashear
a6f560b805 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
2005-02-03 17:02:54 +00:00
Jeffrey Altman
09feb1be17 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
2005-01-31 18:52:30 +00:00
Chaskiel M Grundman
51ec9e099e linux-tasklist-lock-weak-20050129
FIXES 17424

weak binding to tasklist_lock
2005-01-29 05:46:42 +00:00
Jeffrey Hutzelman
f126dbdbe2 osi-probe-syscall-20050129
FIXES 17405

add osi_probe
2005-01-29 05:41:59 +00:00
Jeffrey Altman
4cc0394af0 createx-null-ptr-20050126
Don't release null scps
2005-01-27 00:09:32 +00:00
Jeffrey Altman
4c27de9539 windows-aclent-20050126
Undo the FreeACLEnt lock as it is an automatic deadlock
2005-01-27 00:00:10 +00:00
Chas Williams
ff2e55343f revert-afs-indextimes-in-dcache-20050125
FIXES 17377

indexTimes needs to persist, revert for now
2005-01-26 22:07:33 +00:00
Chas Williams
1de152256a afs-indextimes-in-dcache-20050125
FIXES 17377

move indextimes array into dcache struct
2005-01-26 21:09:08 +00:00
Jeffrey Altman
e41837e876 winnotes-update-20050126
add dr watson info to install notes.

update changes list
2005-01-26 15:51:46 +00:00
Jeffrey Altman
5166140901 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.
2005-01-26 15:49:14 +00:00
Jeffrey Altman
ff3436446e 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.
2005-01-25 23:24:43 +00:00
Jim Rees
e86eb73e30 obsd-vattrs-20040125
compare vattrs against VNOVAL, not -1
fixes mode setting now that modes are 32 bits
2005-01-25 23:00:35 +00:00
Chas Williams
9b7e78b048 unpin-out-of-order-oops-20050125
FIXES 17346

unpin before freeing
2005-01-25 20:19:17 +00:00
Jeffrey Altman
8a68d38977 rxdebug-withWaited-20050125
copy/paste error corrected.  'withWaited' never assigned a value
2005-01-25 18:46:33 +00:00
Derrick Brashear
96cf60ef3e linux-mmap-ro-means-no-write-20050125
don't allow a write map of a file which cannot be written to
2005-01-25 06:54:31 +00:00
Nathan Neulinger
187f26a3af no-copy-libafs-builds-20050121
make things so file copies from src/libafs don't happen; change how libafs_tree
is done
2005-01-21 22:02:02 +00:00
Chas Williams
72ea4e2c69 linux-revised-dentry-invalidation-20050121
FIXES 17337

"the latest 2.6 version of "tryflushdcachechildren" is probably
good enough for 2.2/2.4 as well. further, we can just call
d_invalidate() to make things less complicated. unification
is good.

its seen limited testing here under 2.4/2.6."
2005-01-21 19:13:33 +00:00
Nickolai Zeldovich
01aca8ca22 rx-hash-table-mod-prime-20050121
see https://lists.openafs.org/pipermail/openafs-devel/2004-September/010967.htmland https://lists.openafs.org/pipermail/openafs-devel/2004-September/010968.html
2005-01-21 18:27:37 +00:00
Douglas Engert
110b1f14bd rx-packetreadwrite-adjust-offset-20050119
offset - l must be zero in the second loop pass to avoid overwrites
2005-01-21 17:44:36 +00:00
Derrick Brashear
9011551120 readd-qwaiting-20050121
FIXES 5616

the problem was caused by optimization on solaris. sigh.
2005-01-21 14:33:40 +00:00
Derrick Brashear
76d6e43eb8 linux-no-log-in-tryflushdcachechildren-20050121
FIXES 5835

just don't log, and lock order doesn't matter
2005-01-21 14:31:38 +00:00
Jim Rees
a0ce71a843 alloc-confusion-20040120
use osi_Alloc instead of osi_AllocLargeSpace for tokens, to match free
2005-01-20 18:00:28 +00:00
Jim Rees
7f430a45aa obsd-cred-ptr-20040120
**credpp, not *credp (OpenBSD only)
2005-01-20 17:59:02 +00:00
Jim Rees
dacae61bda re-indent-20040120
re-indent so I can read the file so I can fix a bug
2005-01-20 17:33:38 +00:00
Chas Williams
73437ee7d4 linux26-vcache-reclaim-cleanup-20050119
"ok, if you ever drop
dcache_lock you need to go to restart (i think that's pretty clear).
shrink_dcache_parent() _might_ reduce a dentry count to 0.  in the
previous version, it seemed to make the assumption that this would
always happen.  if shrink_dcache_parent() is unsuccessful and the
dentry is a directory, we cant restart.  we would just find the
the dentry again and do the same thing over (we could always d_drop
but you shouldnt do this to active directories -- see d_invalidate).

if we find a busy dentry, we abort all processing for this inode.
going back to restart would find the same busy inode.  (i suppose
we could use a d_flag to keep track of which dentry has been shrunk.
this has other trouble, like who resets the flag and when?)  since we
only do this for directories and d_alias typically only grows due to
soft/hard links (as far as i can tell) this scheme seems reasonable."
2005-01-19 22:46:06 +00:00
Chaskiel M Grundman
8ccd2d91d8 dirbuffer-fid-is-index-20050119
"The new buffer code (which I wrote) did not deal
with dcache object re-use, as I had conflated the concepts of "dcache *
reuse" and "dcache slot reuse".

This patch should fix this problem. It now stores the dcache index (aka slot number,
which is the same as the numeric part of the cache file's filename) in the
buffer instead of the ephemeral struct dcache pointer."
2005-01-19 22:35:40 +00:00
Jeffrey Altman
f427010222 rx-multiple-packets-20050118
Doug Engert reports that large tokens are corrupted when being sent
using RX.  This patch fixes two bugs which prevent the transmission
and receipt of multiple packet exchanges.
2005-01-19 05:14:11 +00:00
Jim Rees
5f498279b8 obsd-cleanups-20040118
remove dead code
add (commented out, non-working) new reclaim code
2005-01-18 16:15:36 +00:00
Jeffrey Altman
eabe2b6f77 windows-smb_vc_t-refcounts-20050117
Rework the reference counting of the smb_vc_t objects to use
smb_ReleaseVC and smb_HoldVC.  Add missing counts for references
from waiting locks.

Fix cm_ioctl.c to allow it to compile once again.
2005-01-18 07:36:25 +00:00
Chas Williams
cadc5b46e1 linux26-rename-more-cleanup-20050116
FIXES 17284

cleanup how renaming does moving and unhashing of dentries
2005-01-16 16:49:06 +00:00
Chaskiel M Grundman
646028dbdb linux26-dcache-lock-20050116
FIXES 17266

"The changes I submitted previously, and committed as
linux-26-vlru-cycle-20041012 do not satisfy necessary invariants of the
dcache api.

1) the dcache_lock is not held when calling d_unhashed and
list_empty(&dentry->d_subdirs)
2) the caller of d_prune_aliases does not hold it's own ref on the inode

Patch attached.(has been used lightly for a month or so)"
2005-01-16 16:43:34 +00:00
Chaskiel M Grundman
091d64876b linux26-zomb-gcpags-cleanup-20050116
FIXES 17265

clean up for newer non-TASK_ZOMBIE kernels
2005-01-16 16:41:33 +00:00
Chas Williams
8db7eb1876 linux25-rename-rehash-not-move-20050116
not tested yet
2005-01-16 16:36:53 +00:00
Matthew Miller
9e81a8e4c2 linux26-rlim-20050114
detect rlim stuff for linux 2.6
2005-01-14 17:36:39 +00:00
Chas Williams
270f675b6f fstrace-linux-proc-20050113
FIXES 17240

support /proc interface
2005-01-14 17:31:31 +00:00
Derrick Brashear
d9e55baca1 fs-busy-stats-20050113
add support for counting number of vbusies returned
2005-01-14 03:03:27 +00:00
Johan Danielsson
0cea4432fc linux26-pag-copy-groups-always-20050113
FIXES 17226

always copy the group list on linux 2.6
2005-01-14 01:34:54 +00:00
Chas Williams
7854052b38 x86-sol10-param-cleanup-20050113
FIXES 17082

make user section match kernel section
2005-01-14 01:27:26 +00:00
Chas Williams
2519680a2c sol10-afsd-rc-20050113
FIXES 17036

install an rc file for solaris 10
2005-01-14 01:11:48 +00:00
Love Hörnquist-Åstrand
ed02afba55 nbsd30-20050113
FIXES 16889

netbsd 3 this time for sure
2005-01-14 01:07:45 +00:00
Derrick Brashear
0a872abd75 largefile-efbig-20050113
FIXES 16964

return EFBIG instead of E2BIG
2005-01-14 01:04:13 +00:00
Douglas Engert
a18937e6a4 sol9-vfsck-interleave-becomes-si-20050113
FIXES 16941

fix remaining fs_interleave ref
2005-01-14 00:57:32 +00:00
Rainer Toebbicke
e496140274 lih-host-hold-20050113
FIXES 17211

"lih_r now leaves the current lih_host held, and h_Releases those for which
it changed mind during h_Enumerate. It also closes the window that
ClearHostCallbacks_r opens.

The problem was: due to the leak on the h_Hold table, rx connections and
host and client structures stopped being garbage collected once the
fileserver went through GetSomeSpace_r. Only relevant for "busy" servers,
many would never even invoke this routine."
2005-01-13 23:55:27 +00:00