Commit Graph

5331 Commits

Author SHA1 Message Date
Simon Wilkinson
af4d05c3a4 generic-inline-20080924
LICENSE IPL10

move static_inline macro to generic location
2008-09-24 22:34:19 +00:00
Simon Wilkinson
2d5987ea2b rx-dpf-clarify-20080924
LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues
2008-09-24 22:31:54 +00:00
Dragos Tatulea
433afd4779 disconnected-rw-20080922
LICENSE IPL10
FIXES 114605 114606 114607

add read-write disconnected support
2008-09-22 14:36:16 +00:00
Derrick Brashear
41d5a5f7e3 macos-panic-decoder-format-fix-20080921
LICENSE IPL10

handle new panic format
2008-09-21 14:03:20 +00:00
Asanka Herath
1f68694119 windows-local-dir-updates-20080916
LICENSE MIT

When a local directory update occurs to the directory pages stored
in the dcache, there is no guarrantee that the same modifications
will be made to the cached pages as are being made by the file server.
In the situation that one or more of the cached pages are recycled,
it is not permissible to obtain the missing pages from the file server
without first invalidating the rest of the cached pages.  This is
necessary to prevent mixing of incompatible data representations.

Define a new flag CM_SCACHEFLAG_LOCAL which is used to indicate that
dcache entries were locally modified even though they are not dirty.

As the previous code could have corrupted the contents of the dcache,
bump CM_CONFIG_DATA_VERSION in order to force the rebuilding of the
cache.

Add error CM_ERROR_NOTINCACHE to indicate that a requested directory
page is not present in the cache and will not be created on the fly.

Prefetch all dcache entries for directories and ensure that a consistent
set is being used.
2008-09-16 12:45:22 +00:00
Asanka Herath
c4117f6f07 windows-dir-search-star-dot-pattern-20080916
LICENSE MIT

Replicate the FAT and NTFS behavior that the "*." pattern should match
all files without an extension.
2008-09-16 12:32:38 +00:00
Jeffrey Altman
414312a72a windows-lock-order-20080916
LICENSE MIT

do not violate lock order when freeing server reference lists
2008-09-16 12:26:45 +00:00
Jeffrey Altman
2d709220d5 windows-byte-range-locks-20080913
LICENSE MIT

Replace the int64 key with a struct because process ids on 64-bit
Windows can be 64-bit when obtained through the redirector interface.
2008-09-13 14:51:16 +00:00
Jeffrey Altman
1456a67c5c windows-vnovol-20080912
LICENSE MIT

The cm_serverRef_t list reference counts were undercounting and
prematurely freeing the server lists for volumes that experienced
VNOVOL and VMOVED errors.  cm_Analyze() must release the server
list before forcibly updating the volume location info.  Otherwise,
the list that gets freed is the old one concatenated with the new
one.

Add more trace messages.
2008-09-13 05:20:02 +00:00
Jeffrey Altman
fd55471b57 windows-service-procs-20080912
LICENSE MIT

if we are going to use hot threads it would be useful if there were
some additional server threads available to become listeners as
needed.
2008-09-12 15:32:23 +00:00
Simon Wilkinson
11b45ad09b redhat-mockbuild-dksm-20080912
LICENSE IPL10

make mockbuild do the dkms rpms also
2008-09-12 14:07:31 +00:00
Asanka Herath
7ae4174d95 windows-dir-new-pages-20080911
LICENSE MIT

A small patch to permit the directory package to allocate additional
directory pages when adding new entries that do not fit in the pages
that were obtained from the file server.
2008-09-12 05:08:00 +00:00
Jeffrey Altman
5ea02ad1e2 windows-vnovol-20080911
LICENSE MIT

Modify MSG_SERVER_REPORTS_VNOVOL to mention that the volume may
have been moved or deleted.

In cm_Analyze(), do not call cm_ForceUpdateVolume() or force a retry
when processing CM_ERROR_NOSUCHVOLUME.  This CM error value is the
result of a VNOVOL already being processed which would have forced
the update.

When a VMOVED or VNOVOL error is received, remove the volume id from
the server's volume list.

If cm_ForceUpdateVolume() returns a failure, do not retry if a
VMOVED or VNOVOL error was received.

Make sure that if a cm_serverRef_t object is marked srv_deleted
that its references not be used.

Now that cm_ForceUpdateVolume() is being called only when processing
VMOVED and VNOVOL errors, permit it to call cm_UpdateVolumeLocation()
immediately.

Refactor cm_CheckOfflineVolume() to reduce code duplication.
2008-09-11 18:24:38 +00:00
Jeffrey Altman
186f1e97d0 windows-flush-btrees-20080911
LICENSE MIT

fs flushall, fs flushvolume, and fs flush should tear down directory
B+ trees so that when the data buffers are re-read from the file server
with the same data version, the B+ trees will be rebuilt.
2008-09-11 18:09:34 +00:00
Jeffrey Altman
d85bdb4c9f windows-cell-list-validation-20080911
LICENSE MIT

correct cell list validation now that the free cell list exists
2008-09-11 18:03:52 +00:00
Jeffrey Altman
8e1b48ad0a windows-rx-jumbo-20080911
LICENSE MIT

Disable rx jumbo by default.  Permit rx jumbo to be enabled with
registry value "RxJumbo" set to 1 or "RxNoJumbo" set to 0.

RxNoJumbo has priority.
2008-09-11 17:59:18 +00:00
Jeffrey Altman
59c1c22747 windows-multi-check-server-20080911
LICENSE MIT

Permit rx_multi check server to be toggled via a registry setting
at checked prior to each invocation.  "MultiCheckServers".
Default is on.

Remove volume status updates for vldb server status changes.
2008-09-11 17:49:53 +00:00
Derrick Brashear
f51e8e7be5 aix-export-build-fix-20080906
LICENSE IPL10

add missing ; to case actions
2008-09-06 12:58:39 +00:00
Derrick Brashear
21006bb844 oops-sias-dead-20080906
LICENSE IPL10

while we should try all the auth modules, sia is tru64 only, so, no...
2008-09-06 12:52:59 +00:00
Derrick Brashear
4119d9742b syncserv-syncvldb-manpages-dryrun-20080906
LICENSE IPL10

make syncserv and syncvldb manpages reflect dryrun option
2008-09-06 12:51:01 +00:00
Jeffrey Altman
0860d5b5b1 windows-vnovol-20080905
LICENSE MIT

force a volume location update upon receipt of a VNOVOL error
in case the volume was moved.  VMOVED is only returned by the file
server if the volume is in the process of being moved.  Once it has
been deleted the file server returns VNOVOL.
2008-09-06 05:24:31 +00:00
Derrick Brashear
5c2406070f fileserver-sticky-bit-admin-only-20080905
LICENSE IPL10

do restrict the sticky bit to admins.
2008-09-05 17:57:33 +00:00
Jeffrey Altman
beef54e70c windows-smb-volname-20080904
LICENSE MIT

Advertise the correct length for the volume name.  Do not include the NUL.

Add more create option values as #defines.
2008-09-04 21:07:40 +00:00
Derrick Brashear
9689e78d71 fileserver-sticky-bit-not-admin-only-20080904
LICENSE IPL10

don't restrict the sticky bit to admins.
2008-09-04 20:41:14 +00:00
Jeffrey Altman
bbd713ad3f windows-cell-locking-20080903
LICENSE MIT

fix a lock order issue and protect the timeout and flags field
of cm_cell_t with the mutex instead of the global lock.
2008-09-03 22:03:54 +00:00
Jeffrey Altman
441cc643e0 windows-smb-lock-order-20080903
LICENSE MIT

another lock order violation to fix
2008-09-03 21:37:00 +00:00
Niklas Edmundsson
539535cf67 aix61-initial-support-20080903
LICENSE IPL10
FIXES 113638

aix 6.1 support
2008-09-03 19:26:29 +00:00
Jeffrey Altman
7f4e0dfc3e rx-mutex-init-once-20080903
LICENSE IPL10
FIXES 114555

because rx_Finalize doesn't clean up, we end up reiniting mutexes. use
pthread_once when not in the kernel.
(kernel does not now call rx_Finalize, ever)
2008-09-03 19:07:11 +00:00
Derrick Brashear
995ee981fd linux26-libafs-makefileproto-trust-kbuild-system-no-really-20080903
LICENSE IPL10

if we are really not using COMMON_KERN_CFLAGS and being trusting, let's do so.
2008-09-03 17:59:08 +00:00
Jeffrey Altman
9803e84e63 windows-afsd-dns-env-20080902
LICENSE MIT

Fix the conditionals so that the right thing happens if AFS_AFSDB_ENV
is not defined.
2008-09-02 23:34:41 +00:00
Jeffrey Altman
8bf17e7c81 windows-fs-setcrypt-auth-20080902
LICENSE MIT

fix parsing and display of fs setcrypt auth
2008-09-02 22:25:25 +00:00
Jeffrey Altman
84e10d582a smb-string-conversion-20080902
LICENSE MIT

more cases where -1 should be passed in as opposed to the strlen value
when converting between char and wchar forms
2008-09-02 22:20:58 +00:00
Jeffrey Altman
d94b9a7818 windows-rxkad-auth-20080902
LICENSE MIT

Add ability for users to select rxkad auth only mode.
"fs setcrypt auth".
2008-09-02 22:15:36 +00:00
Jeffrey Altman
21abc0e0b5 windows-afsd-init-20080902
LICENSE MIT

report state of "Rx Jumbo" and "RxExtraPackets" more often
2008-09-02 22:08:24 +00:00
Jeffrey Altman
e31826d333 windows-cell-free-list-20080902
LICENSE MIT

add a free list to the cm_cell_t structure.  if during cm_GetCellGen()
the cm_SearchCellXXX() calls fail, store the allocated cm_cell_t object
on a free list so that it can be reused for the next request.
2008-09-02 21:17:42 +00:00
Jeffrey Altman
829ff4e54f windows-cell-alloc-reversed-20080902
LICENSE MIT

The approach taken in windows-cell-alloc-20080902 won't work.
2008-09-02 17:34:00 +00:00
Jeffrey Altman
ef64f50fb9 windows-cell-alloc-20080902
LICENSE MIT

Perform the initial cm_SearchCellXXX call using a temporary cm_cell_t
object in case the search fails.
2008-09-02 16:20:13 +00:00
Jeffrey Altman
a653057ff4 windows-smb-free-lsa-response-20080901
LICENSE MIT

Whether or not LsaCallAuthenticationPackage succeeds, it may return
a response buffer.  If it does, free it.
2008-09-01 13:35:42 +00:00
Jeffrey Altman
83dadab93a windows-afsd-init-lock-order-validation-20080830
LICENSE MIT

Add TransarcAFSDaemon/Parameters key "LockOrderValidation" DWORD
to control lock order validation functionality.  Defaults to off
for release builds and on for checked builds.
2008-08-30 15:13:03 +00:00
Jeffrey Altman
a36596f10f windows-lock-order-validation-20080830
LICENSE MIT

Add osi_SetLockOrderValidation(int) to permit lock order validation
to be turned on and off.  Must be executed before the first lock
is obtained.
2008-08-30 15:03:27 +00:00
Jeffrey Altman
ccdf50ade3 windows-buf-shutdown-20080829
LICENSE MIT

During buf_Shutdown() all dirty buffers should be written to the file
server if they can be.
2008-08-30 03:08:20 +00:00
Jeffrey Altman
2da64d02a2 windows-afsd-shutdown-20080829
LICENSE MIT

reorganize the service shutdown order to permit dirty buffers to be
flushed to the file server without competition from incoming requests.
2008-08-30 03:04:53 +00:00
Jeffrey Altman
00fee5efee windows-check-servers-20080828
LICENSE MIT

if the server count is zero, don't both trying
2008-08-28 10:45:45 +00:00
Jeffrey Altman
43eb87a916 windows-check-server-heap-overwrite2-20080827
LICENSE MIT

the incorporation of nconns into the foo incremental was a mistake
2008-08-28 00:42:26 +00:00
Jeffrey Altman
e68255c12c windows-check-server-heap-overwrite-20080827
LICENSE MIT

Protect against a heap overwrite that could occur is the number of file
servers or vldb servers grows while the maximum number of connections
is computed and when the connection list is populated.
2008-08-27 23:08:06 +00:00
Jeffrey Altman
0affa4b86a windows-callback-lock-order-20080827
LICENSE MIT

do not hold cm_server_t mutex when calling cm_FindVolumeByID because
the cm_volume_t lock must be obtained ahead of the cm_server_t mutex
2008-08-27 23:01:51 +00:00
Jeffrey Altman
c50857b05e windows-lock-order-20080827
LICENSE MIT

do not hold cm_scacheLock while obtaining cm_scache_t->rw
2008-08-27 13:17:05 +00:00
Jeffrey Altman
bef68684fd windows-short-names-20080827
LICENSE MIT

plus and equal are not valid characters in short names.
we replace them with left and right brace in order to
minimize the instability in the file names.
2008-08-27 12:47:23 +00:00
Matt Benjamin
a123bd8ccd freebsd-70-client-20080826
LICENSE IPL10

FreeBSD 7.0 client support (and 8.0 support but that's a moving target)
2008-08-26 15:59:42 +00:00
Tom Keiser
4d245c6a19 studio12-solaris-updates-20080826
LICENSE IPL10
FIXES 113671

update so we build with studio 12 on solaris
2008-08-26 15:11:28 +00:00