Commit Graph

57 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
ahodgkinson
64c22eb9cd Changed Solaris and Linux to use DEV_BSIZE as the value of m_uiBytesPerSector.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@556 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 15:38:44 +00:00
ahodgkinson
e6b528664d Added more asserts.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@554 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 23:32:15 +00:00
ahodgkinson
7fde897e34 Needed to set uiBytesWritten in directWrite() after the async write has been queued.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@553 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 23:20:08 +00:00
ahodgkinson
67543bc464 Enabled direct I/O and async on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@552 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 23:07:08 +00:00
ahodgkinson
8ac4179f56 Fixed Solaris compile errors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@550 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 21:13:09 +00:00
ahodgkinson
18607f2306 Misc. changes for Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@549 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 21:00:03 +00:00
ahodgkinson
de1f513a3d Changes to support async reads on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@548 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 20:50:04 +00:00
ahodgkinson
d38be29699 NetWare async I/O changes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@542 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 18:48:34 +00:00
ahodgkinson
7b20027e35 Solaris async I/O changes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@540 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 18:28:33 +00:00
ahodgkinson
9593313285 Added more asserts in F_FileHdl methods.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@539 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-09 18:45:16 +00:00
ahodgkinson
3f185982aa Added isPending method to IF_IOBuffer.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@534 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-08 20:27:34 +00:00
ahodgkinson
c539a9c7cf Fixed Unix compile errors when doing a non-debug build.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@532 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-07 23:07:40 +00:00
ahodgkinson
6e5b224a5f Various message logging and async I/O changes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@527 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-06 22:49:32 +00:00
ahodgkinson
5ff9f37534 Fixed Linux compile errors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@526 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-06 21:10:57 +00:00
ahodgkinson
72c9368800 Added some typecasts.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@524 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-06 21:03:25 +00:00
ahodgkinson
57b0c21299 Changes to fall back to doing a non-async write when not writing on a sector boundary.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@523 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-06 20:49:37 +00:00
ahodgkinson
f672e7590f Added FTK console I/O routines to support FLAIM utilities. Misc. changes to the slab allocator.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@505 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-05 19:13:55 +00:00
ahodgkinson
a3fda8265f Added f_getcwd().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@450 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-24 19:26:29 +00:00
ahodgkinson
78d350e0d2 Updates for XFLAIM NetWare build.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@448 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-24 18:47:37 +00:00
ahodgkinson
2a358dbf57 More updates for Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@426 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-19 18:08:53 +00:00
ahodgkinson
5794442528 Fixed varargs support on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@425 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-19 17:31:24 +00:00
ahodgkinson
6879d7b8ca Completed adding support for ring 0 NLMs.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@407 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-11 22:42:00 +00:00
ahodgkinson
f2cc40e884 Fixed Linux compile errors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@398 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-09 18:00:57 +00:00
ahodgkinson
eeae0db616 Added implementations for "posix" atomic operations.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@397 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-09 17:57:40 +00:00
ahodgkinson
6067126f93 Added f_canGetMemoryInfo() and added startup code to set various memory limits.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@391 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-09 16:12:51 +00:00
ahodgkinson
77c5454f69 Added support for locking and unlocking files (byte 0, exclusive).
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@385 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-08 22:45:49 +00:00
ahodgkinson
4875673228 Added support for NetWare (libc) built using OpenWatcom.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@377 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-08 21:17:55 +00:00
ahodgkinson
341bbbf16f More changes to support X-FLAIM.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@376 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-08 17:27:10 +00:00
ahodgkinson
86bbf5f33d Moved Linux-specific routines out of ftkmisc and into ftkunix.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@373 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-05 16:48:29 +00:00
ahodgkinson
2b4f58edb5 Linux fixes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@372 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-05 16:25:38 +00:00
ahodgkinson
f283f1f9da Fixed OS X issues.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@371 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-05 16:15:45 +00:00
ahodgkinson
bb1f3e4a80 Initial changes needed to convert XFLAIM over to FTK.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@368 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-05-01 23:29:03 +00:00