Commit Graph

188 Commits

Author SHA1 Message Date
ahodgkinson
aefe3a0a67 FTK change. Fixed issue when building with gcc on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@796 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-23 17:12:22 +00:00
ahodgkinson
3755f0e717 FTK change. Renamed FLM_GENERIC_SPARC to FLM_SPARC_GENERIC. Also renamed the "generic" target to "genericsparc".
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@794 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-23 16:40:24 +00:00
ahodgkinson
7f949c01a5 FTK change. Added support for the "genericsparc" target. This will build a library without any v8plus or newer instructions.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@793 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-23 16:05:13 +00:00
ahodgkinson
52279ed81e FTK change. Improved performance of PPC atomic ops by removing the leading sync instruction.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@792 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 23:13:54 +00:00
ahodgkinson
7bf48c61ea FTK change. Fixed OS X compiler warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@788 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 21:40:31 +00:00
ahodgkinson
3922aa7255 FTK changes. Minor cleanup.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@786 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 21:14:42 +00:00
ahodgkinson
ccdbccde49 FTK changes. Various optimizations for Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@785 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 20:54:08 +00:00
ahodgkinson
564ae538a7 FTK change. Fixed Solaris 32-bit compile issue.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@784 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 18:44:30 +00:00
ahodgkinson
84931997bb FTK changes. Fixed bug in f_combineWPChar that was resulting in an illegal memory access when processing characters beyond 0x0F00.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@780 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-21 20:30:14 +00:00
ahodgkinson
7c37eb0d40 FTK changes. Fixed bug in f_wpBreakChar that was resulting in an illegal memory access when processing character 0x01F2.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@779 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-21 20:23:32 +00:00
ahodgkinson
c48052bdf7 FTK changes. Improvements to collation routines, including an optimization that results in 10x the performance when converting US English characters for collation. Added more collation unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@777 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-21 19:49:24 +00:00
ahodgkinson
521d5ef269 FTK change. Needed to verify items are in the avail list before changing the prev/next avail pointers in F_SlabInfoRelocator::relocate.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@774 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-17 22:59:58 +00:00
ahodgkinson
b92e178965 FTK change. Fixed bug in SPARC checksum code when processing a misaligned buffer. Added unit tests to validate the code change.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@767 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-14 22:48:06 +00:00
ahodgkinson
3e45be3400 FTK change. Fixed misc problems in ftkFastXor routine.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@764 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-14 17:44:00 +00:00
ahodgkinson
9acc51698a Fixed compile errors on Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@762 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-10 22:40:06 +00:00
ahodgkinson
0eb11f49db FTK changes. Checksum improvements for Windows.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@759 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-10 22:32:16 +00:00
ahodgkinson
7c9bb608c9 FTK change. Added assembly routines for calculating checksums on SPARC platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@758 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-10 21:33:06 +00:00
ahodgkinson
2e508596bc FTK change. Enabled use of fast checkum routines on all x86 platforms when building with gcc.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@757 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 20:36:41 +00:00
ahodgkinson
9e08e127e8 FTK changes. Added f_calcPacketChecksum() function and corresponding unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@756 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 20:24:40 +00:00
ahodgkinson
964b602d2f Added ftkFastCheckSumMMX for 32 and 64-bit Intel Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@755 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 19:48:07 +00:00
ahodgkinson
3175324999 FTK changes. Added f_getRandomByte() function and added a unit test for the block checksum routine.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@754 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 16:21:27 +00:00
ahodgkinson
65ec01a749 FTK change. Added native Linux atomic ops on PPC.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@753 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 23:12:02 +00:00
ahodgkinson
6a71caf32f FTK change. Added native atomic routines for Linux on SPARC processors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@749 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 18:43:28 +00:00
ahodgkinson
09151de0aa FTK change. Needed to use atomic "barrier" functions on OS X to ensure correct
behavior.


git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@747 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 16:14:17 +00:00
ahodgkinson
894499caf4 FTK changes. Added simple atomic increment and decrement unit test.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@744 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 18:52:57 +00:00
ahodgkinson
0860382e06 FTK changes. Added more asserts to check for correct list linkages.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@743 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 18:16:04 +00:00
ahodgkinson
828f7f8e65 FTK Changes. Added support for HP-UX built with the native compiler (aCC). Added extendFile() method to the file handle class -- this method will increase the size of a file in the most optimal way possible on the host platform.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@732 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-03 19:21:37 +00:00
ahodgkinson
a575399f58 Fixed Linux compiler warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@731 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 21:15:36 +00:00
ahodgkinson
27bc96c21f Initial support for direct and async I/O on AIX.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@730 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 21:11:45 +00:00
ahodgkinson
0e2ba5f0b3 Updated support for AIX.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@729 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 19:31:50 +00:00
ahodgkinson
5bb928b5e8 FTK change. According to the documentation posix_* routines do not set errno. Needed to make a couple of code changes to account for this.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@728 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-31 19:06:59 +00:00
ahodgkinson
78fe7721a6 FTK change. Fixed compiler warning in release build.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@725 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 22:40:33 +00:00
ahodgkinson
a157ff5fb4 All projects changed to build with -xarch=v8plus when using the Workshop compiler on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@724 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 22:24:38 +00:00
ahodgkinson
af49935bcb FTK changes. Optimized Solaris file extend operation.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@723 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 21:13:17 +00:00
ahodgkinson
70c4da8400 Optimized file extend operations on Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@722 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 20:46:55 +00:00
ahodgkinson
756f20e042 FTK change. Fixed NetWare compiler warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@721 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 18:59:39 +00:00
ahodgkinson
246df64278 FTK change. Various enhancements to F_BlockAlloc::freeBlock().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@720 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 18:41:14 +00:00
ahodgkinson
b6d6c49428 FTK change. Fixed compile error on Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@719 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:32:19 +00:00
ahodgkinson
906729eced FTK change. Allocation of slabs will be done using valloc on various Unix platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@718 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:24:28 +00:00
ahodgkinson
5f1f6c5941 FTK change. The hash mask used by the block allocator is now based on the page size or allocation granularity of the platform.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@717 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:23:47 +00:00
ahodgkinson
ebea841370 FTK change. Needed to use memalign calls on Linux and Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@716 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 17:00:18 +00:00
ahodgkinson
8b1a7c2328 FTK changes. Completed the block cache allocator and added support on Win XP/2003 systems to use SetFileValidData when extending files.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@711 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 16:36:46 +00:00
ahodgkinson
1ce12c0df0 FTK change. First draft of a page-aligned cache block allocator.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@710 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-25 23:06:04 +00:00
ahodgkinson
5555f6185c Changed FLM_IO_MISALIGNED_OK to be FLM_IO_NO_MISALIGNED.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@689 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-20 22:27:19 +00:00
ahodgkinson
4a5ee4d53e Renamed F_NOTIFY to F_NOTIFY_LIST_ITEM to avoid a conflict on Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@681 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 19:09:30 +00:00
ahodgkinson
cb44dbb6e3 FTK changes. Changed error code mapping of EINVAL from NE_FLM_IO_PATH_TOO_LONG to NE_FLM_INVALID_PARM
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@680 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 18:55:35 +00:00
ahodgkinson
0bdfcca62b FTK change. Fixed NetWare compile error.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@679 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 18:33:42 +00:00
ahodgkinson
9600908d36 FTK changes. Added support for notify lists and reader/writer locks.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@676 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 18:25:47 +00:00
ahodgkinson
dbee121675 FTK change. Moved include of dlfcn.h closer to the top of the file (so it is included before it is first needed).
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@675 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 16:21:22 +00:00
ahodgkinson
95bb5a0a88 FTK change. Added flag to prevent misaligned I/O operations to occur when a file has been opened in directio mode. This will allow us to find and fix sub-optimal I/O operations.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@671 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-14 22:30:23 +00:00