Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Deason
89b22dfe86 libafs: Implement unixuser RW locks
Currently code dealing with changing unixuser structs does not obtain
any locks protecting the contents of the unixuser struct, though some
functions like afs_GetUser have a parameter indicating what type of
lock should be obtained. This can result in the token data for a user
being changed at the same time another thread tries to use the token
data.

To ensure mutual exclusion of such operations, add a lock field to the
unixuser struct, and actually lock it according to the intentions of
the relevant code.

Change-Id: Idd66d72f716b7e7dc08faa31ae43e9a23639bae3
Reviewed-on: http://gerrit.openafs.org/4636
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2011-05-19 05:02:57 -07:00
Simon Wilkinson
cc42d05324 disconnected-replay-fixes-20090121
LICENSE IPL10
FIXES 124172

updates to fix bugs in disconnected change replays
2009-01-21 21:14:48 +00:00
Derrick Brashear
532147e455 macos-avoid-reclaim-hang-20060124
FIXES 25686

based on chaskiel's suggestion, implement a lookaside reclaim list
2006-01-26 16:03:03 +00:00
Chas Williams
f84de8044a more-rxglock-cleanup-20060126
FIXES 23321

more rx glock cleanup. eval for pullup after 1.4.1
2006-01-26 16:00:34 +00:00
Nickolai Zeldovich
d99c35279d dcache-finegrained-locks-20011121
This patch implements more fine-grained locking for dcache entries.
The main advantage is that multiple chunks of the same file can be
fetched at once.  This means that an incorrectly-guessed prefetch
won't block other fetches, prefetches of multiple chunks can occur
in parallel, and multiple processes sharing the same file can read
from different parts of the file at once.
2001-11-21 16:01:19 +00:00
Derrick Brashear
fb5bcd00fc Standardize License information 2000-11-04 10:01:08 +00:00
IBM
87c10e8d7f Initial IBM OpenAFS 1.0 tree 2000-11-04 02:13:13 +00:00