Commit Graph

164 Commits

Author SHA1 Message Date
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
9f5d39fd5c Updated libtool versioning information and added documentation describing how and when libtool versioning should be changed.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@683 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-19 19:50:35 +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
ahodgkinson
e9ebd6b246 FTK change. Fixed Solaris compile error.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@668 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:31:17 +00:00
ahodgkinson
f6479b00d6 FTK change. Need to force a flush when a write extends a file without calling extendFile.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@667 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:18:46 +00:00
ahodgkinson
b88f31b616 FTK change. Disabled stack walk in debug mode.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@666 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 21:17:35 +00:00
ahodgkinson
65ba56e830 Added bPreallocate flag to IF_SlabManager::resize().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@662 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 18:43:22 +00:00
ahodgkinson
141c112397 Slab manager improvements to reduce mutex contention. File I/O optimizations for Unix and Windows.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@658 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-13 17:39:57 +00:00
ahodgkinson
cabd3b05da Fixed problem with f_freeAlignedBuffer on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@656 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-12 02:01:24 +00:00
ahodgkinson
f721085a15 Reverted to calling fsync on Mac OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@655 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 22:24:43 +00:00
ahodgkinson
04c8a75de2 Enhanced Unix code for auto-extending files.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@653 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 21:12:04 +00:00
ahodgkinson
f9f8ade96b Fixed Linux compile errors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@652 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 19:46:17 +00:00
ahodgkinson
eacf9625d9 Added support for auto-extending files when writing to minimize filesystem metadata logging.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@651 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 19:40:14 +00:00
ahodgkinson
057af14af9 waitToComplete() method needed to support OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@646 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:01:27 +00:00
ahodgkinson
a53f8acaf8 Improved async i/o error handling. Disabled file system caching on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@645 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:00:54 +00:00
ahodgkinson
82f98d78a8 Added support for allocating aligned buffers on Unix platforms that don't provide the memalign() function.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@644 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:00:03 +00:00
ahodgkinson
c44e49e82c Added option in FLAIM to disable direct I/O on Linux and Unix platforms. Re-architected the FTK I/O layer and cleaned up the async interfaces.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@643 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-10 23:38:53 +00:00
ahodgkinson
3dc23e1bcd Added support for f_yieldCPU() on Unix platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@638 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 20:47:42 +00:00
ahodgkinson
25871146ba Updated FTK makefile to detect the Sun Studio compiler.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@637 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 19:03:29 +00:00
ahodgkinson
4f9dbe409c Initial support for Solaris 7 and the Sun Forte.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@636 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 18:22:41 +00:00
dsandersoremutah
d60f9efd0c Added default new operators to the F_Object class - ones without file and line number.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@633 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-05 14:42:47 +00:00
dsandersoremutah
8c0b2ce402 Modified to include stdarg.h to get va_xxx functionality - on all platforms except for Netware ring 0.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@620 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-30 20:30:37 +00:00
dsandersoremutah
c843dd7fb7 Some typedefs are no longer in F_FixedAlloc class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@615 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-27 16:03:03 +00:00
dsandersoremutah
5f91337220 Moved some typedefs out of the private area of the F_FixedAlloc class. Some compilers can't deal with that.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@614 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-27 15:55:42 +00:00
dsandersoremutah
b8c853ae20 Modified to use new F_Printf object to do f_sprintf and logging.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@606 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-22 21:27:38 +00:00
dsandersoremutah
02786f16e7 Got rid of printf formatter routines that are no longer used.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@605 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-22 21:20:25 +00:00
dsandersoremutah
8d69473eb6 Changed strings for embedding colors in printf() format strings. Added F_Printf class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@604 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-22 21:19:53 +00:00
dsandersoremutah
720fd25e8c Added prototypes and functions to initialize the logger client and associated mutex.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@594 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 18:32:08 +00:00
dsandersoremutah
0a3fb74248 Base 64 decoder should have returned success instead of eof hit.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@591 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 18:30:51 +00:00
ahodgkinson
4da76e02e8 Added call to fflush in f_printf().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@589 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:36:32 +00:00
ahodgkinson
b15d0a0694 Added nlm.xdc.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@588 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:10:35 +00:00
ahodgkinson
44f3c67458 Fixed NetWare build issues.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@587 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:09:42 +00:00
ahodgkinson
b6a7ffc76d Needed to lock/unlock the random generator mutex when getting a random number via f_getRandomUINT32.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@586 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:09:28 +00:00
dsandersoremutah
15aee67ddf Fixed compiler warning on linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@585 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-19 21:03:16 +00:00
dsandersoremutah
b9268e985e Added SynchronizeStart
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@577 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-16 16:12:04 +00:00
dsandersoremutah
cd3612fbf5 Made Ring 0 the default mode for compiling and building on Netware. Added "const" in one prototype.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@576 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-16 16:11:43 +00:00
ahodgkinson
2fabd31c06 Moved the super-file handle into FTK and fixed various memory leaks in the FLAIM/XFLAIM unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@575 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-15 17:05:55 +00:00
ahodgkinson
d8d61143f7 More bug fixes for NetWare.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@572 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-14 19:39:30 +00:00
ahodgkinson
f5aa2e1a0d Fixed various memory leaks and enabled memory tracking for debug builds.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@571 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 21:13:24 +00:00
ahodgkinson
8ee3ed8699 Needed to release "free" cache during shutdown.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@570 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 20:20:44 +00:00
ahodgkinson
34b2324144 Misc. FTK cleanup.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@567 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 19:02:07 +00:00