openafs.git
19 years agowindows-afsd-minor-20050330
Jeffrey Altman [Thu, 31 Mar 2005 07:05:21 +0000]
windows-afsd-minor-20050330

Add bounds checking to the comparison of fid->vnode and cm_localMountPoints
when Freelance mode is used.

Fix typo in DJGPP section of smb.c

Use rx_connection * instead of rx_call * in previous fix to cm_dcache.c

19 years agowindows-stress-test-fixes-20050330
Jeffrey Altman [Wed, 30 Mar 2005 21:49:35 +0000]
windows-stress-test-fixes-20050330

Ran more stress tests against 1.3.80b on a dual processor machine and
found a number of additional errors which could be fixed.

cm_callback.c: correct the refCount handling of server lists when
processing registering callbacks on the scache entry

cm_conn.c: cm_Analyze was not handling the CM_ERROR_NOSUCHVOLUME case.
In this case force a retry and Force Update the Volume info

cm_dcache.c; do not hold mx locks around calls to rx_NewCall().  That is
why we have reference counting on the rx_connection objects.

cm_ioctl.c: replace references to afsdcell.ini with CellServDB

cm_utils.c: formatting

cm_vnodeops.c: improve the logging and add a missing call to
cm_EndCallbackGrantingCall()

cm_volume.c: allows cm_volume_t objects to be reused if their
ref count is 0 and we have hit the maximum number allowed.

smb.c: improve the logging and the handling of dead_vcp references.
If all of the SMB sessions and NCBs are in use, return BUSY to the
CIFS client.

smb3.c: convert constants to preprocessor symbols

19 years agolinux-vnode-macros-20050326
Derrick Brashear [Sat, 26 Mar 2005 07:10:39 +0000]
linux-vnode-macros-20050326

here's a place where we passed a vcache instead of a vnode for linux. doesn't
matter today, might as well fix it now.

19 years agolwp-deal-with-unaligned-memory-20050326
Chaskiel M Grundman [Sun, 27 Mar 2005 21:19:45 +0000]
lwp-deal-with-unaligned-memory-20050326

FIXES 18050

don't double-free lwp stack space

19 years agorx-getaddrs-skip-loopback-addr-on-bsd-too-20050326
Derrick Brashear [Sat, 26 Mar 2005 06:53:44 +0000]
rx-getaddrs-skip-loopback-addr-on-bsd-too-20050326

as reported by Tracy Demarco-White

19 years agodarwin-vnode-macros-20050325
Derrick Brashear [Sat, 26 Mar 2005 05:37:42 +0000]
darwin-vnode-macros-20050325

use vnode to vcache conversion macros

19 years agodarwin-fstrace-20050325
Derrick Brashear [Sat, 26 Mar 2005 00:44:39 +0000]
darwin-fstrace-20050325

holy crap, it just worked.

19 years agoacl-maxentry-comment-20050325
Jeffrey Altman [Fri, 25 Mar 2005 17:58:47 +0000]
acl-maxentry-comment-20050325

correct the comment related to the maximum number of entries in
an ACL.  the number of ACEs must be less than or equal to ACL_MAXENTRIES
not less than ACL_MAXENTRIES.

19 years agosb-list-fix-20050323
Derrick Brashear [Thu, 24 Mar 2005 01:53:46 +0000]
sb-list-fix-20050323

fix gaffe from my attempt at this

19 years agowindows-logon-20050323
Jeffrey Altman [Wed, 23 Mar 2005 22:31:13 +0000]
windows-logon-20050323

Fix initialization error when getting domain parameters

19 years agowindows-version-8002-20050323
Jeffrey Altman [Wed, 23 Mar 2005 22:30:09 +0000]
windows-version-8002-20050323

1.3.8002

19 years agokbuild-one-more-try-20050322
Jeffrey Hutzelman [Tue, 22 Mar 2005 23:52:59 +0000]
kbuild-one-more-try-20050322

and shortly i will confirm it works for all cases

19 years agowindows-toplevel-makefile-20050322
Jeffrey Altman [Tue, 22 Mar 2005 19:39:44 +0000]
windows-toplevel-makefile-20050322

fix build dependencies for vl headers

19 years agowindows-smb-fix-20050322
Jeffrey Altman [Tue, 22 Mar 2005 05:42:29 +0000]
windows-smb-fix-20050322

the use logon cache hack only works on xp and above. do not give up
use of smb auth simply because it fails

fix the smb_vc_t refCount fix to smb_CopyPacket.  Only hold a smb_vc_t
if there is one.

19 years agowindows-version-20050322
Jeffrey Altman [Tue, 22 Mar 2005 05:40:13 +0000]
windows-version-20050322

1.3.8001

19 years agowindows-smb_vc_t-refcounts-20050321
Jeffrey Altman [Mon, 21 Mar 2005 16:27:59 +0000]
windows-smb_vc_t-refcounts-20050321

conditionalize the assertions on smb_vc_t refcounts as they are only
for debugging.  We know there is a problem but don't want to deal with
it for the 1.3.80 release.

added logging info for each hold and release.  perhaps that will provide
a clue in the future

====================
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.
====================

When copying a packet we must increment the vcp refcounts

19 years agovos-extended-format-20050320
Ervin Fenyak [Mon, 21 Mar 2005 02:54:11 +0000]
vos-extended-format-20050320

FIXES 17961

vos listvol -extended
with -format option (vos listvol -extended -format) had no effect.
After applying the patch,
vos listvol -extended -format
outputs tab delimited output.

====================
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 17961

move variable declaration to the beginning of the block

19 years agolinux-inotify-20050320
Derrick Brashear [Sun, 20 Mar 2005 20:37:39 +0000]
linux-inotify-20050320

yay more inode fields.

19 years agoinstall-cfgafs-20050320
Michael Niksch [Sun, 20 Mar 2005 20:26:19 +0000]
install-cfgafs-20050320

FIXES 17712

cfgafs shoudl be installed regardless of AIX64

19 years agolinux-crref-held-longer-20050320
Chas Williams [Sun, 20 Mar 2005 20:18:08 +0000]
linux-crref-held-longer-20050320

FIXES 17917

hold the cr ref longer
we were putting it too soon

19 years agolinux-rx-spinlocks-for-preempt-20050320
Chaskiel M Grundman [Sun, 20 Mar 2005 20:12:05 +0000]
linux-rx-spinlocks-for-preempt-20050320

FIXES 17966

force linux spinlocks on when CONFIG_PREEMPT is involved

19 years agoafs-lock-init-20050320
Chaskiel M Grundman [Sun, 20 Mar 2005 20:08:06 +0000]
afs-lock-init-20050320

FIXES 17939

add missing afs lock initialization

19 years agolinux-libafs-makefileproto-call-kbuild-correctly-20050320
Vitaly Chernookiy [Sun, 20 Mar 2005 19:38:44 +0000]
linux-libafs-makefileproto-call-kbuild-correctly-20050320

FIXES 17972

call the script directly out of srcdir instead of looking elsewhere

19 years agoamd64-linux-rx-clock-fix-20050320
Chaskiel M Grundman [Sun, 20 Mar 2005 19:23:19 +0000]
amd64-linux-rx-clock-fix-20050320

FIXES 17950

avoid initial delay in rx on amd64 linux due to interval timer issue

19 years agovos-partinfo-summary-mode-20050320
Tom Keiser [Sun, 20 Mar 2005 15:11:54 +0000]
vos-partinfo-summary-mode-20050320

FIXES 17868

add a summary mode to vos partinfo

19 years agolinux-find-kernel-build-link-path-to-kernel-headers-20050320
Jeffrey Hutzelman [Sun, 20 Mar 2005 15:07:19 +0000]
linux-find-kernel-build-link-path-to-kernel-headers-20050320

look in /lib/modules for a path to the kernel build instead of just in /usr/src

19 years agolinux-afsd-rc-better-defaulting-20050320
Jason McCormick [Sun, 20 Mar 2005 15:00:43 +0000]
linux-afsd-rc-better-defaulting-20050320

FIXES 17630

default to a small cache rather than breaking if the client is ill-configured

19 years agoafsd-rxpck-switch-20050320
Ervin Fenyak [Sun, 20 Mar 2005 14:32:06 +0000]
afsd-rxpck-switch-20050320

FIXES 17837

add rxpck switch to afsd to allow overrding maxpackets

19 years agorevert-salvager-verbosity-entirely-20050319
Derrick Brashear [Sat, 19 Mar 2005 20:42:04 +0000]
revert-salvager-verbosity-entirely-20050319

simply remove the verbosity added to salvager

19 years agowindows-notes-20050317
Jeffrey Altman [Thu, 17 Mar 2005 17:50:22 +0000]
windows-notes-20050317

final notes for 1.3.80

19 years agoCellServDB-update-20050317
Jeffrey Hutzelman [Thu, 17 Mar 2005 17:42:26 +0000]
CellServDB-update-20050317

Public CellServDB 16 Mar 2005

19 years agonosettime-20050317
Harald Barth [Thu, 17 Mar 2005 15:52:54 +0000]
nosettime-20050317

Make -nosettime default for afsd.  Use -settime to get old behavior.

19 years agowindows-dns-crypt-20050516
Jeffrey Altman [Wed, 16 Mar 2005 21:37:07 +0000]
windows-dns-crypt-20050516

Found another case in which the windows client could break connections
which should not be broken if cryptall is on.  If the connection is
unauthenticated because there are no tokens, the connections will be
broken.

If a site relies on AFSDB records and the client machine is configured
to append a domain suffix to all queries it is possible for "foo" and
"foo.bar" to appear to be separate cells.  fixed by appending a trailing
'.' to all AFSDB queries if there is not already one.

19 years agorollback-20050315
Jeffrey Altman [Wed, 16 Mar 2005 04:49:02 +0000]
rollback-20050315

Rollback changes to 1.68

19 years agowindows-notes-20050314
Jeffrey Altman [Tue, 15 Mar 2005 00:55:56 +0000]
windows-notes-20050314

Update notes to describe fix for cross realm trusts to Windows
multi-domain forests

19 years agowindows-comments-20050314
Jeffrey Altman [Tue, 15 Mar 2005 00:43:21 +0000]
windows-comments-20050314

Update the comments to indicate how we force authentication to be
performed against the Windows logon cache instead of a domain controller
and how BackConnectionsHostNames will work in Longhorn Beta 1.

19 years agowindows-mumble-20050311
Jeffrey Altman [Fri, 11 Mar 2005 18:16:47 +0000]
windows-mumble-20050311

Add new registry setting to force a lana to be treated as a loopback

Move hack to force use of MSV1_0 cache

19 years agowindows-1380-20050310
Jeffrey Altman [Fri, 11 Mar 2005 07:30:00 +0000]
windows-1380-20050310

updates for 1.3.80

====================
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.
====================

update issues list

19 years agowindows-pcache-20050310
Jeffrey Altman [Fri, 11 Mar 2005 05:33:12 +0000]
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.

19 years agofix-linux22-20050310
Derrick Brashear [Fri, 11 Mar 2005 04:35:39 +0000]
fix-linux22-20050310

fix accumulated linux 2.2 damage

19 years agovolinfo-dont-bomb-on-attach-failure-20050310
Derrick Brashear [Fri, 11 Mar 2005 02:54:49 +0000]
volinfo-dont-bomb-on-attach-failure-20050310

let volinfo keep going in the face of failure

19 years agovos-listaddrs-dont-infinite-loop-20050308
Tom Keiser [Tue, 8 Mar 2005 22:14:50 +0000]
vos-listaddrs-dont-infinite-loop-20050308

FIXES 17814

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

19 years agolinux-osi-gettime-avoid-collision-20050308
Johan Danielsson [Tue, 8 Mar 2005 22:09:29 +0000]
linux-osi-gettime-avoid-collision-20050308

FIXES 17802

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

19 years agolinux-writepage-sync-20050308
Chaskiel M Grundman [Tue, 8 Mar 2005 22:05:45 +0000]
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)"

19 years agoosi-lookupname-nuke-dirvpp-20050308
Chaskiel M Grundman [Tue, 8 Mar 2005 21:57:41 +0000]
osi-lookupname-nuke-dirvpp-20050308

FIXES 17791

osi_lookupname doesn't need dirvpp anymore

19 years agoosi-syscall-fix-20050302
Chas Williams [Thu, 3 Mar 2005 16:56:48 +0000]
osi-syscall-fix-20050302

FIXES 17666

fix typo _nr should __nr

19 years agofake-admin-on-create-file-20050228
Love Hörnquist-Åstrand [Mon, 28 Feb 2005 20:18:11 +0000]
fake-admin-on-create-file-20050228

pass back admin in status bits for create file

19 years agosalvager-less-verbose-20050227
Karl Ramm [Sun, 27 Feb 2005 18:31:42 +0000]
salvager-less-verbose-20050227

make the salvager less verbose

19 years agofix-uae-20050226
Derrick Brashear [Sun, 27 Feb 2005 04:26:41 +0000]
fix-uae-20050226

sometimes the proeprocessor is cranky. bah.

19 years agoosi-probe-update-20050225
Jeffrey Hutzelman [Fri, 25 Feb 2005 19:51:51 +0000]
osi-probe-update-20050225

update osi_probe for machines with no mmap2

19 years agocblater-protection-and-paranoia-20050225
Derrick Brashear [Fri, 25 Feb 2005 19:49:10 +0000]
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.

19 years agounified-afs-cleanup-20050225
Derrick Brashear [Fri, 25 Feb 2005 18:02:35 +0000]
unified-afs-cleanup-20050225

use EIO as base error

19 years agofe-clear-status-on-reuse-20050225
Jeffrey Altman [Fri, 25 Feb 2005 17:42:17 +0000]
fe-clear-status-on-reuse-20050225

jeff pointed this out yesterday, it may fix more than he guessed.

19 years agotviced-log-thread-at-high-loglevel-20050224
Derrick Brashear [Thu, 24 Feb 2005 15:21:28 +0000]
tviced-log-thread-at-high-loglevel-20050224

if loglevel > 999, log thread id as part of logging

19 years agoppc64-linux26-param-20050224
Sam Hartman [Thu, 24 Feb 2005 05:04:50 +0000]
ppc64-linux26-param-20050224

FIXES 15581

missed before

19 years agofix-uae-20050223
Derrick Brashear [Thu, 24 Feb 2005 04:44:59 +0000]
fix-uae-20050223

make uae flag not secretly overflow hostFlags

19 years agoioctl32-linux26-20050223
Chaskiel M Grundman [Wed, 23 Feb 2005 23:07:31 +0000]
ioctl32-linux26-20050223

FIXES 17669

add ioctl32 support for linux 2.6

19 years agoia64-smp-definition-20050220
Chas Williams [Sun, 20 Feb 2005 05:42:47 +0000]
ia64-smp-definition-20050220

FIXES 17640

change how smp is defined so we pick up a mutex

19 years agounified-osi-probe-2-20050216
Jeffrey Hutzelman [Wed, 16 Feb 2005 22:47:35 +0000]
unified-osi-probe-2-20050216

FIXES 17548

update osi_probe

19 years agosolaris-x8664-support-20050216
Chas Williams [Wed, 16 Feb 2005 19:22:49 +0000]
solaris-x8664-support-20050216

FIXES 17628

add amd64 support for solaris 10

19 years agofix-multirx-checkservers-20050216
Tom Keiser [Wed, 16 Feb 2005 19:13:01 +0000]
fix-multirx-checkservers-20050216

FIXES 17549

put results in an array.

19 years agofbsd-amd64-20050212
Harald Barth [Sun, 13 Feb 2005 00:23:52 +0000]
fbsd-amd64-20050212

initial fbsd support for amd64

19 years agosolais10-declares-mem-funcs-20050212 BP-disconnected
Derrick Brashear [Sat, 12 Feb 2005 19:52:19 +0000]
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)

19 years agostore64-cleanup-20050212
Chaskiel M Grundman [Sat, 12 Feb 2005 19:47:03 +0000]
store64-cleanup-20050212

fix several deficiencies in 64 bit file size handling

19 years agolinux-avoid-leaking-refs-20050211
Chaskiel M Grundman [Fri, 11 Feb 2005 22:37:31 +0000]
linux-avoid-leaking-refs-20050211

FIXES 17451

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

19 years agolinux-sysincludes-needs-slab-20050211
Chaskiel M Grundman [Fri, 11 Feb 2005 22:27:22 +0000]
linux-sysincludes-needs-slab-20050211

add linux/slab.h to includes

19 years agolinux26-inode-got-i-sb-list-20050204
Chas Williams [Thu, 10 Feb 2005 16:30:41 +0000]
linux26-inode-got-i-sb-list-20050204

another thing to do at inode initialization

19 years agolinux-flush-release-rewrite-20050209
Chas Williams [Thu, 10 Feb 2005 04:49:10 +0000]
linux-flush-release-rewrite-20050209

FIXES 17509

rewrite afs_linux_release and afs_linux_flush

19 years agoclient-conndeadtime-tunable-20050209
Derrick Brashear [Thu, 10 Feb 2005 03:57:27 +0000]
client-conndeadtime-tunable-20050209

make the fs and not just the vldb interface dead time tunable

19 years agolinux-lwp-work-around-signal-lossage-20050209
Derrick Brashear [Thu, 10 Feb 2005 03:02:46 +0000]
linux-lwp-work-around-signal-lossage-20050209

some versions of linux seem to lose signals sometimes. very annoying.

19 years agowindows-misc-20050207
Jeffrey Altman [Mon, 7 Feb 2005 19:27:35 +0000]
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.

19 years agolinux-libafs-fix-20050207
Guillaume Rousse [Mon, 7 Feb 2005 15:31:31 +0000]
linux-libafs-fix-20050207

create osi_vfs.h in the right place

19 years agolinux26-inode-got-i-sb-list-20050204
Chas Williams [Fri, 4 Feb 2005 21:13:51 +0000]
linux26-inode-got-i-sb-list-20050204

another thing to do at inode initialization

19 years agoubik-remote-ntoa-20050204
Jeffrey Hutzelman [Fri, 4 Feb 2005 21:09:58 +0000]
ubik-remote-ntoa-20050204

afs_inet_ntoa needs a prototype for 64 bit systems

19 years agowindows-longfilename-matching-20050203
Jeffrey Altman [Fri, 4 Feb 2005 04:55:51 +0000]
windows-longfilename-matching-20050203

retry pattern matching when ambiguous matches are found for long file
names

19 years agomacos-dont-inactive-vnodes-were-still-referencing-20050203
Derrick Brashear [Thu, 3 Feb 2005 17:02:54 +0000]
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

19 years agowindows-misc-20050131
Jeffrey Altman [Mon, 31 Jan 2005 18:52:30 +0000]
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

19 years agolinux-tasklist-lock-weak-20050129
Chaskiel M Grundman [Sat, 29 Jan 2005 05:46:42 +0000]
linux-tasklist-lock-weak-20050129

FIXES 17424

weak binding to tasklist_lock

19 years agoosi-probe-syscall-20050129
Jeffrey Hutzelman [Sat, 29 Jan 2005 05:41:59 +0000]
osi-probe-syscall-20050129

FIXES 17405

add osi_probe

19 years agocreatex-null-ptr-20050126
Jeffrey Altman [Thu, 27 Jan 2005 00:09:32 +0000]
createx-null-ptr-20050126

Don't release null scps

19 years agowindows-aclent-20050126
Jeffrey Altman [Thu, 27 Jan 2005 00:00:10 +0000]
windows-aclent-20050126

Undo the FreeACLEnt lock as it is an automatic deadlock

19 years agorevert-afs-indextimes-in-dcache-20050125
Chas Williams [Wed, 26 Jan 2005 22:07:33 +0000]
revert-afs-indextimes-in-dcache-20050125

FIXES 17377

indexTimes needs to persist, revert for now

19 years agoafs-indextimes-in-dcache-20050125
Chas Williams [Wed, 26 Jan 2005 21:09:08 +0000]
afs-indextimes-in-dcache-20050125

FIXES 17377

move indextimes array into dcache struct

19 years agowinnotes-update-20050126
Jeffrey Altman [Wed, 26 Jan 2005 15:51:46 +0000]
winnotes-update-20050126

add dr watson info to install notes.

update changes list

19 years agowindows-misc-20050126
Jeffrey Altman [Wed, 26 Jan 2005 15:49:14 +0000]
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.

19 years agowindows-misc-20050125
Jeffrey Altman [Tue, 25 Jan 2005 23:24:43 +0000]
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.

19 years agoobsd-vattrs-20040125
Jim Rees [Tue, 25 Jan 2005 23:00:35 +0000]
obsd-vattrs-20040125

compare vattrs against VNOVAL, not -1
fixes mode setting now that modes are 32 bits

19 years agounpin-out-of-order-oops-20050125
Chas Williams [Tue, 25 Jan 2005 20:19:17 +0000]
unpin-out-of-order-oops-20050125

FIXES 17346

unpin before freeing

19 years agorxdebug-withWaited-20050125
Jeffrey Altman [Tue, 25 Jan 2005 18:46:33 +0000]
rxdebug-withWaited-20050125

copy/paste error corrected.  'withWaited' never assigned a value

19 years agolinux-mmap-ro-means-no-write-20050125
Derrick Brashear [Tue, 25 Jan 2005 06:54:31 +0000]
linux-mmap-ro-means-no-write-20050125

don't allow a write map of a file which cannot be written to

19 years agono-copy-libafs-builds-20050121
Nathan Neulinger [Fri, 21 Jan 2005 22:02:02 +0000]
no-copy-libafs-builds-20050121

make things so file copies from src/libafs don't happen; change how libafs_tree
is done

19 years agolinux-revised-dentry-invalidation-20050121
Chas Williams [Fri, 21 Jan 2005 19:13:33 +0000]
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."

19 years agorx-hash-table-mod-prime-20050121
Nickolai Zeldovich [Fri, 21 Jan 2005 18:27:37 +0000]
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

19 years agorx-packetreadwrite-adjust-offset-20050119
Douglas Engert [Fri, 21 Jan 2005 17:44:36 +0000]
rx-packetreadwrite-adjust-offset-20050119

offset - l must be zero in the second loop pass to avoid overwrites

19 years agoreadd-qwaiting-20050121
Derrick Brashear [Fri, 21 Jan 2005 14:33:40 +0000]
readd-qwaiting-20050121

FIXES 5616

the problem was caused by optimization on solaris. sigh.

19 years agolinux-no-log-in-tryflushdcachechildren-20050121
Derrick Brashear [Fri, 21 Jan 2005 14:31:38 +0000]
linux-no-log-in-tryflushdcachechildren-20050121

FIXES 5835

just don't log, and lock order doesn't matter

19 years agoalloc-confusion-20040120
Jim Rees [Thu, 20 Jan 2005 18:00:28 +0000]
alloc-confusion-20040120

use osi_Alloc instead of osi_AllocLargeSpace for tokens, to match free

19 years agoobsd-cred-ptr-20040120
Jim Rees [Thu, 20 Jan 2005 17:59:02 +0000]
obsd-cred-ptr-20040120

**credpp, not *credp (OpenBSD only)

19 years agore-indent-20040120
Jim Rees [Thu, 20 Jan 2005 17:33:38 +0000]
re-indent-20040120

re-indent so I can read the file so I can fix a bug

19 years agolinux26-vcache-reclaim-cleanup-20050119
Chas Williams [Wed, 19 Jan 2005 22:46:06 +0000]
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."