captive.git
20 years agoUpdate for captive-0.9.
short [Sun, 17 Aug 2003 07:32:57 +0000 (07:32 +0000)]
Update for captive-0.9.

20 years agoFixed compatibility with gtk-doc documentation generator.
short [Sun, 17 Aug 2003 07:18:56 +0000 (07:18 +0000)]
Fixed compatibility with gtk-doc documentation generator.

20 years agoFixed forgotten 'marshallers.list' in 'make dist' files list.
short [Sun, 17 Aug 2003 07:18:21 +0000 (07:18 +0000)]
Fixed forgotten 'marshallers.list' in 'make dist' files list.

20 years ago"make install" now creates sandboxing directory '/var/lib/captive'.
short [Sun, 17 Aug 2003 07:17:54 +0000 (07:17 +0000)]
"make install" now creates sandboxing directory '/var/lib/captive'.

20 years agoUtilize gtkdocize(1) of gtk-doc-1.1.
short [Sun, 17 Aug 2003 07:15:24 +0000 (07:15 +0000)]
Utilize gtkdocize(1) of gtk-doc-1.1.

20 years agoUtilize gtkdocize(1) of gtk-doc-1.1.
short [Sun, 17 Aug 2003 07:14:49 +0000 (07:14 +0000)]
Utilize gtkdocize(1) of gtk-doc-1.1.
"make install" now creates sandboxing directory '/var/lib/captive'.

20 years ago+RPM build for sandboxing.
short [Sun, 17 Aug 2003 07:13:43 +0000 (07:13 +0000)]
+RPM build for sandboxing.
+RPM build for lufs module.

20 years agoPrevent inclusion of <libxml/xmlreader.h> if libxml2 is too old.
short [Sat, 16 Aug 2003 14:30:18 +0000 (14:30 +0000)]
Prevent inclusion of <libxml/xmlreader.h> if libxml2 is too old.
 - We have no use for xmlreader without working libxml buffering of 2.5.9.

20 years agoJust do not compile bug-replay(1) if libxml2-2.5.9 is not available.
short [Sat, 16 Aug 2003 10:59:05 +0000 (10:59 +0000)]
Just do not compile bug-replay(1) if libxml2-2.5.9 is not available.
+Require gcc-3.x and try to find it in its alternate versioned naming.
+Do not require pkg-config(1) configuration file for openssl library.
 - At least Debian-3.0r1 does not provide it.

20 years agoJust do not compile bug-replay(1) if libxml2-2.5.9 is not available.
short [Sat, 16 Aug 2003 10:57:35 +0000 (10:57 +0000)]
Just do not compile bug-replay(1) if libxml2-2.5.9 is not available.

20 years agoCalled ChangeLog builder renamed to match Debian package: cvs2cl.pl -> cvs2cl
short [Sat, 16 Aug 2003 10:54:23 +0000 (10:54 +0000)]
Called ChangeLog builder renamed to match Debian package: cvs2cl.pl -> cvs2cl

20 years ago+autoconf version check 2.53.
short [Sat, 16 Aug 2003 07:48:32 +0000 (07:48 +0000)]
+autoconf version check 2.53.

20 years agolibtoolize check now uses &AutoGen->checkcommandversion.
short [Sat, 16 Aug 2003 07:47:26 +0000 (07:47 +0000)]
libtoolize check now uses &AutoGen->checkcommandversion.
+automake version check for 1.6.

20 years agoFixed 3+ libtool version numbers parsing such as '1.4.2'.
short [Fri, 15 Aug 2003 18:39:33 +0000 (18:39 +0000)]
Fixed 3+ libtool version numbers parsing such as '1.4.2'.

20 years agoRename: client/libcaptive-gnomevfs/ -> client/gnomevfs/
short [Fri, 15 Aug 2003 08:31:43 +0000 (08:31 +0000)]
Rename: client/libcaptive-gnomevfs/ -> client/gnomevfs/

20 years agoRename: client/libcaptive-gnomevfs/ -> client/gnomevfs/
short [Fri, 15 Aug 2003 08:26:38 +0000 (08:26 +0000)]
Rename: client/libcaptive-gnomevfs/ -> client/gnomevfs/

20 years ago+LUFS (Linux User File System) module to be Linux kernel filesystem
short [Fri, 15 Aug 2003 01:42:11 +0000 (01:42 +0000)]
+LUFS (Linux User File System) module to be Linux kernel filesystem

20 years ago+Check for libxml2-2.5.9 for: http://bugzilla.gnome.org/show_bug.cgi?id=117702
short [Thu, 14 Aug 2003 17:34:57 +0000 (17:34 +0000)]
+Check for libxml2-2.5.9 for: bugzilla.gnome.org/show_bug.cgi?id=117702

20 years agoComments cleanup.
short [Thu, 14 Aug 2003 17:03:00 +0000 (17:03 +0000)]
Comments cleanup.

20 years ago+RtlRealSuccessor() as "pass"ed
short [Thu, 14 Aug 2003 09:47:39 +0000 (09:47 +0000)]
+RtlRealSuccessor() as "pass"ed
 - Needed for NT-5.1sp0 compatibility.

20 years agoIncomplete attempt for compatibility with NT-5.0sp4.
short [Wed, 13 Aug 2003 12:13:22 +0000 (12:13 +0000)]
Incomplete attempt for compatibility with NT-5.0sp4.

20 years ago-RtlAssert() on write to compressed volume by ntfs.sys of NT-5.1sp1
short [Wed, 13 Aug 2003 10:47:18 +0000 (10:47 +0000)]
-RtlAssert() on write to compressed volume by ntfs.sys of NT-5.1sp1
 - Rewritten Cache Manager fixes it automagically.

20 years agoReplaced all 'FileSize' sanity checks for more relaxed 'AllocationSize' checks.
short [Wed, 13 Aug 2003 10:46:05 +0000 (10:46 +0000)]
Replaced all 'FileSize' sanity checks for more relaxed 'AllocationSize' checks.

20 years ago*_FileSizes_changed(): It appears it is valid to squeeze out 'dirty' blocks.
short [Wed, 13 Aug 2003 10:45:53 +0000 (10:45 +0000)]
*_FileSizes_changed(): It appears it is valid to squeeze out 'dirty' blocks.
Replaced all 'FileSize' sanity checks for more relaxed 'AllocationSize' checks.

20 years agoSharedCacheMap now references its initial FileObject.
short [Wed, 13 Aug 2003 09:18:50 +0000 (09:18 +0000)]
SharedCacheMap now references its initial FileObject.
'buffer' is reallocated only if >=PAGE_SIZE change of 'AllocationSize'.
Fixed 'pages' reallocation tail checking/clearing.
AllocationSize no longer checked for 0x200 alignment.
 - Needed for fastfat.sys of NT-5.1sp1.
Prevent signalling if not needed as signal is forbidden in finalization.
captive_shared_cache_map_w32_unref(): Pre-squeeze SharedCacheMap on last unref.
Used PAGE_SIZE-aligned 'FileSize' instead of non-aligned 'ValidDataLength'.
Allow multiple setting of 'LogHandle' and/or 'FlushToLsnRoutine'.
+captive_shared_cache_map_page_write_lsn() for lsn-sorted page write.

20 years ago+Comments about AllocationSize/FileSize/ValidDataLength meaning.
short [Wed, 13 Aug 2003 09:13:25 +0000 (09:13 +0000)]
+Comments about AllocationSize/FileSize/ValidDataLength meaning.

20 years ago+captive_private_bcb_pin_object_get() to just query existing objects hash.
short [Wed, 13 Aug 2003 09:12:43 +0000 (09:12 +0000)]
+captive_private_bcb_pin_object_get() to just query existing objects hash.

20 years agoRemoved redundant 'length' and 'buffer' object fields.
short [Wed, 13 Aug 2003 09:12:28 +0000 (09:12 +0000)]
Removed redundant 'length' and 'buffer' object fields.
Fixed captive_private_bcb_pin_object_hash_new_key_compare_func().
Used PAGE_SIZE-aligned 'FileSize' instead of non-aligned 'ValidDataLength'.
+captive_private_bcb_pin_object_get() to just query existing objects hash.

20 years ago+Trace dumps compatible with TraceFS.
short [Wed, 13 Aug 2003 09:10:29 +0000 (09:10 +0000)]
+Trace dumps compatible with TraceFS.

20 years ago+Trace dumps compatible with TraceFS.
short [Wed, 13 Aug 2003 09:06:00 +0000 (09:06 +0000)]
+Trace dumps compatible with TraceFS.
CcCanIWrite(): 'SharedCacheMap' of 'FileObject' may be NULL.

20 years ago+Trace dumps compatible with TraceFS.
short [Wed, 13 Aug 2003 09:05:23 +0000 (09:05 +0000)]
+Trace dumps compatible with TraceFS.

20 years ago+Trace dumps compatible with TraceFS.
short [Wed, 13 Aug 2003 09:04:24 +0000 (09:04 +0000)]
+Trace dumps compatible with TraceFS.
CcCopyWrite(): 'Length' may not be PAGE_SIZE aligned.

20 years ago+Trace dumps compatible with TraceFS.
short [Wed, 13 Aug 2003 09:03:03 +0000 (09:03 +0000)]
+Trace dumps compatible with TraceFS.
CcFlushCache(): 'SharedCacheMap' is optional for 'FileObject'.

20 years ago+Trace dumps compatible with TraceFS.
short [Wed, 13 Aug 2003 09:02:03 +0000 (09:02 +0000)]
+Trace dumps compatible with TraceFS.
Fixed CcPinMappedData() FileOffset PAGE_SIZE alignment for pin-Bcb.
Fixed CcPreparePinWrite() FileOffset PAGE_SIZE alignment for pin-Bcb.
CcPinRead(): Implemented PIN_IF_BCB for fastfat.sys of NT-5.1sp1.

20 years agodismount_volume(): Fixed failed assertion wrt "/!Captive!del" hack.
short [Wed, 13 Aug 2003 08:58:50 +0000 (08:58 +0000)]
dismount_volume(): Fixed failed assertion wrt "/!Captive!del" hack.

20 years ago'tracefs exported tname TcRepinBcb not found in imports' is no longer fatal.
short [Wed, 13 Aug 2003 08:56:49 +0000 (08:56 +0000)]
'tracefs exported tname TcRepinBcb not found in imports' is no longer fatal.
 - Such Thook is simply left unused in 'TraceFS.sys'.

20 years agoFixed 'marshallers.*' rebuilding rules.
short [Wed, 13 Aug 2003 08:52:13 +0000 (08:52 +0000)]
Fixed 'marshallers.*' rebuilding rules.

20 years ago+display also 'object header reference count' of dumped 'FileObject'
short [Wed, 13 Aug 2003 08:45:54 +0000 (08:45 +0000)]
+display also 'object header reference count' of dumped 'FileObject'
+TcIsThereDirtyData()
+TcRepinBcb()
+TcUnpinRepinnedBcb()

20 years ago+parse also 'object header reference count' of dumped 'FileObject'
short [Wed, 13 Aug 2003 08:45:00 +0000 (08:45 +0000)]
+parse also 'object header reference count' of dumped 'FileObject'

20 years ago+TcIsThereDirtyData()
short [Wed, 13 Aug 2003 08:42:05 +0000 (08:42 +0000)]
+TcIsThereDirtyData()
+TcRepinBcb()
+TcUnpinRepinnedBcb()

20 years ago+debug dump CcFlushCache() catch of Lsn.
short [Wed, 13 Aug 2003 08:39:25 +0000 (08:39 +0000)]
+debug dump CcFlushCache() catch of Lsn.

20 years agoRewritten Cache Manager to better match its W32 original behaviour
short [Wed, 13 Aug 2003 08:38:44 +0000 (08:38 +0000)]
Rewritten Cache Manager to better match its W32 original behaviour

20 years agoRewritten Cache Manager to better match its W32 original behaviour
short [Tue, 12 Aug 2003 17:43:22 +0000 (17:43 +0000)]
Rewritten Cache Manager to better match its W32 original behaviour

20 years agoA lot of misc adjustments, pretty broken now.
short [Tue, 12 Aug 2003 17:41:01 +0000 (17:41 +0000)]
A lot of misc adjustments, pretty broken now.

20 years agoDelete 'in_memory' in CcSetFileSizes().
short [Sun, 10 Aug 2003 13:33:40 +0000 (13:33 +0000)]
Delete 'in_memory' in CcSetFileSizes().

20 years ago+Check neccessarities of IRP_MJ_READ.
short [Sun, 10 Aug 2003 12:37:19 +0000 (12:37 +0000)]
+Check neccessarities of IRP_MJ_READ.

20 years ago+Check CcFlushCache().
short [Sun, 10 Aug 2003 11:06:44 +0000 (11:06 +0000)]
+Check CcFlushCache().
+Check IRP_MJ_WRITE and CcFlushCache() nesting.

20 years ago+Tracking of LogHandle.
short [Sun, 10 Aug 2003 09:13:54 +0000 (09:13 +0000)]
+Tracking of LogHandle.
+Tracking of IRP_MJ_WRITE.
+Tracking of MdlChain.

20 years agoRemoved already disabled 'CcPinMappedData_double' cludge.
short [Sat, 9 Aug 2003 15:39:40 +0000 (15:39 +0000)]
Removed already disabled 'CcPinMappedData_double' cludge.

20 years ago+comments wrt map vs. pin chicken-and-egg problem.
short [Sat, 9 Aug 2003 15:32:57 +0000 (15:32 +0000)]
+comments wrt map vs. pin chicken-and-egg problem.

20 years agoLast hacks before move to TraceFS analysis SharedCacheMap based Cc.
short [Wed, 6 Aug 2003 11:34:17 +0000 (11:34 +0000)]
Last hacks before move to TraceFS analysis SharedCacheMap based Cc.

20 years agoRewritten to be SharedCacheMap based instead of FileObject based.
short [Wed, 6 Aug 2003 10:46:50 +0000 (10:46 +0000)]
Rewritten to be SharedCacheMap based instead of FileObject based.

20 years agoPrevent deadlocks of recently implemented synchronization.
short [Tue, 5 Aug 2003 20:34:41 +0000 (20:34 +0000)]
Prevent deadlocks of recently implemented synchronization.
 - FIXME: Enable of file compression still hangs in CcFlushCache().
Improved IRP_MJ_FILE_SYSTEM_CONTROL dumps.
Dump FileObject attrs also on leave from IRP_MJ_*.
Fixed dump FileObject attrs on leave from IRP_MJ_*.

20 years agoFixed dump FileObject attrs on leave from IRP_MJ_*.
short [Tue, 5 Aug 2003 20:31:03 +0000 (20:31 +0000)]
Fixed dump FileObject attrs on leave from IRP_MJ_*.

20 years agoDump FileObject attrs also on leave from IRP_MJ_*.
short [Tue, 5 Aug 2003 12:11:31 +0000 (12:11 +0000)]
Dump FileObject attrs also on leave from IRP_MJ_*.

20 years agoImproved IRP_MJ_FILE_SYSTEM_CONTROL dumps.
short [Tue, 5 Aug 2003 10:21:35 +0000 (10:21 +0000)]
Improved IRP_MJ_FILE_SYSTEM_CONTROL dumps.

20 years ago+Some cludges to better match Cc*().
short [Tue, 5 Aug 2003 10:07:56 +0000 (10:07 +0000)]
+Some cludges to better match Cc*().
Last commit before move to SharedCacheMap based checker.

20 years agoPrevent deadlocks of recently implemented synchronization.
short [Tue, 5 Aug 2003 10:06:12 +0000 (10:06 +0000)]
Prevent deadlocks of recently implemented synchronization.
 - FIXME: Enable of file compression still hangs in CcFlushCache().

20 years agoSynchronize all Cc*() calls for proper debugging info chronology.
short [Mon, 4 Aug 2003 17:25:51 +0000 (17:25 +0000)]
Synchronize all Cc*() calls for proper debugging info chronology.
Additional debug info for 'SharedCacheMap' tracking.

20 years agoFixed and rewritten for better extensibility.
short [Sun, 3 Aug 2003 17:04:09 +0000 (17:04 +0000)]
Fixed and rewritten for better extensibility.
 - FIXME: Bcb vs. threads.

20 years ago+Implemented TraceFS W32 Cache Manager debug tracer
short [Sun, 3 Aug 2003 08:05:35 +0000 (08:05 +0000)]
+Implemented TraceFS W32 Cache Manager debug tracer

20 years ago+Implemented TraceFS W32 Cache Manager debug tracer
short [Sun, 3 Aug 2003 08:00:27 +0000 (08:00 +0000)]
+Implemented TraceFS W32 Cache Manager debug tracer

20 years ago+Strip 'captive_reactos_' prefix of W32-exported symbols.
short [Sun, 3 Aug 2003 07:20:10 +0000 (07:20 +0000)]
+Strip 'captive_reactos_' prefix of W32-exported symbols.

20 years ago+wcsncmp()
short [Sun, 3 Aug 2003 07:19:18 +0000 (07:19 +0000)]
+wcsncmp()

20 years ago+wcsncmp()
short [Wed, 23 Jul 2003 09:40:05 +0000 (09:40 +0000)]
+wcsncmp()

20 years agocaptive_giochannel_setup(): Turn off GIOChannel buffering.
short [Fri, 18 Jul 2003 18:42:29 +0000 (18:42 +0000)]
captive_giochannel_setup(): Turn off GIOChannel buffering.
captive_giochannel_blind_io_read(): +Sanity protected read of unbuffered data.
 - Applies only to 'giochannel_orig==NULL' (non-fallbacked) blinders.

20 years agoCosmetic: Fixed compiler warning.
short [Fri, 18 Jul 2003 15:48:10 +0000 (15:48 +0000)]
Cosmetic: Fixed compiler warning.

20 years agoGIOCHANNEL_BLIND_BLOCK_SIZE: PAGE_SIZE -> 512
short [Fri, 18 Jul 2003 11:48:05 +0000 (11:48 +0000)]
GIOCHANNEL_BLIND_BLOCK_SIZE: PAGE_SIZE -> 512
+'giochannel_orig' may be now NULL to just buffer the write requests.
 - FIXME: GIOChannel buffering will request bytes outside written range!
   - currently such ranges returned as successfuly read (zeroed blocks)
+captive_giochannel_setup() for libcaptive-compatible GIOChannel setup.
+captive_giochannel_blind_new_from_xml()

20 years ago+captive_giochannel_setup() for libcaptive-compatible GIOChannel setup.
short [Fri, 18 Jul 2003 11:36:23 +0000 (11:36 +0000)]
+captive_giochannel_setup() for libcaptive-compatible GIOChannel setup.

20 years ago+CAPTIVE_OPTION_MEDIA_UNKNOWN as guaranteed invalid 'enum' value.
short [Fri, 18 Jul 2003 11:35:22 +0000 (11:35 +0000)]
+CAPTIVE_OPTION_MEDIA_UNKNOWN as guaranteed invalid 'enum' value.

20 years ago+Supplementary captive utilities for libxml2
short [Fri, 18 Jul 2003 11:34:36 +0000 (11:34 +0000)]
+Supplementary captive utilities for libxml2

20 years ago+captive-bug-replay client to read --bug-pathname bugreports.
short [Fri, 18 Jul 2003 11:29:57 +0000 (11:29 +0000)]
+captive-bug-replay client to read --bug-pathname bugreports.

20 years ago+RtlAssert() on write to compressed volume by ntfs.sys of NT-5.1sp1
short [Fri, 18 Jul 2003 11:27:34 +0000 (11:27 +0000)]
+RtlAssert() on write to compressed volume by ntfs.sys of NT-5.1sp1
+Why native NT autocheck (=w/o errors) the volume after our DISMOUNT_VOLUME?
+check for libxml2-2.5.8 TEXT_NODE bug for captive-bug-replay

20 years ago+'captive_options->media' reported to --bug-pathname file
short [Wed, 16 Jul 2003 19:05:41 +0000 (19:05 +0000)]
+'captive_options->media' reported to --bug-pathname file

20 years ago+vfs_commit() logging to --bug-pathname file
short [Wed, 16 Jul 2003 18:58:58 +0000 (18:58 +0000)]
+vfs_commit() logging to --bug-pathname file

20 years ago+FsRtlSplitLargeMcb()
short [Wed, 16 Jul 2003 10:53:17 +0000 (10:53 +0000)]
+FsRtlSplitLargeMcb()
+RtlCompressBuffer()
 - required by ntfs.sys of NT-5.1sp1 for write to compressed volume
   - FIXME: still fails by RtlAssert()

20 years agocaptive_Cc_IoPageRead(): Fixed to read full 'length', not just PAGE_SIZE.
short [Wed, 16 Jul 2003 07:45:54 +0000 (07:45 +0000)]
captive_Cc_IoPageRead(): Fixed to read full 'length', not just PAGE_SIZE.
 - ntfs.sys of NT-5.1sp1 writes and reads everything OK.
 - FIXME: volume is still autochecked by chkdsk although it is no corruptions.
CcMapData(): Expect more than PAGE_SIZE to be read by captive_Cc_IoPageRead().

20 years ago+CcIsThereDirtyData()
short [Wed, 16 Jul 2003 06:33:34 +0000 (06:33 +0000)]
+CcIsThereDirtyData()

20 years agoFixed e-mail address syntax typo.
short [Wed, 16 Jul 2003 06:07:21 +0000 (06:07 +0000)]
Fixed e-mail address syntax typo.

20 years agoCcRemapBcb(): +comments wrt functions applied to the resulting Bcb.
short [Wed, 16 Jul 2003 06:01:48 +0000 (06:01 +0000)]
CcRemapBcb(): +comments wrt functions applied to the resulting Bcb.

20 years agoCleanup SectionObjectPointers->SharedCacheMap handling.
short [Wed, 16 Jul 2003 05:13:41 +0000 (05:13 +0000)]
Cleanup SectionObjectPointers->SharedCacheMap handling.
 - FO_STREAM_FILE is not tracked, regular files are now strictly checked.
CcFlushCache(): Use regular ref_counting instead of CcRepinBcb() (cleanup).

20 years ago+some simple sanity checks
short [Wed, 16 Jul 2003 04:10:58 +0000 (04:10 +0000)]
+some simple sanity checks
CcUnpinRepinnedBcb(): Do not dirty the buffer to be compatible with NT-5.1sp1.
+some comments on 'privbcb->dirty' NT-5.1sp1 compatibility analysis.

20 years ago+some comments on 'privbcb->dirty' NT-5.1sp1 compatibility analysis.
short [Tue, 15 Jul 2003 21:28:19 +0000 (21:28 +0000)]
+some comments on 'privbcb->dirty' NT-5.1sp1 compatibility analysis.
CcGetDirtyPages(): Rewritten/fixed to be compatible with NT-5.1sp1.

20 years agocaptive_privbcb_flush_{,un}ordered(): +Return whether anything was flushed.
short [Mon, 14 Jul 2003 14:12:53 +0000 (14:12 +0000)]
captive_privbcb_flush_{,un}ordered(): +Return whether anything was flushed.
captive_cc_flush(): More robust against buffer dirtying by buffer flushes.
captive_privbcb_flush_unordered(): Allow the same LSN to be written twice.
CcUnpinRepinnedBcb(): Set the buffer dirty (not sure if it is right).

20 years agoCcSetDirtyPinnedData(): Fixed 'Lsn' setup breaking 'private_bcb_lsn_tree'.
short [Mon, 14 Jul 2003 08:25:25 +0000 (08:25 +0000)]
CcSetDirtyPinnedData(): Fixed 'Lsn' setup breaking 'private_bcb_lsn_tree'.

20 years agoCcMapData(): Allow shared-mapping of 'building' pages if MAP_NO_READ anyway.
short [Sun, 13 Jul 2003 22:13:16 +0000 (22:13 +0000)]
CcMapData(): Allow shared-mapping of 'building' pages if MAP_NO_READ anyway.

20 years agoCcMapData(): +protection agains function reentrancy (pagepos 'building' flag)
short [Sun, 13 Jul 2003 22:00:26 +0000 (22:00 +0000)]
CcMapData(): +protection agains function reentrancy (pagepos 'building' flag)
 - currently not reentrant, probably cured by MAP_NO_READ implementation

20 years ago+g_error() message for unsupported ioctl 0x664016 - by NtfsFixDataError().
short [Sun, 13 Jul 2003 19:30:18 +0000 (19:30 +0000)]
+g_error() message for unsupported ioctl 0x664016 - by NtfsFixDataError().

20 years agoCcMapData(): Allow unaligned tail mapping of MAP_NO_READ.
short [Sun, 13 Jul 2003 19:27:04 +0000 (19:27 +0000)]
CcMapData(): Allow unaligned tail mapping of MAP_NO_READ.
CcCopyWrite(): Prevent pre-reading of data by PIN_NO_READ.
+some sanity checks

20 years agoprivate_bcb_lsn_tree_key_compare_func(): g_log() #ifdef-ed as too expensive.
short [Sun, 13 Jul 2003 18:48:55 +0000 (18:48 +0000)]
private_bcb_lsn_tree_key_compare_func(): g_log() #ifdef-ed as too expensive.

20 years agocaptive_privbcb_flush()->captive_privbcb_flush_unordered()
short [Sun, 13 Jul 2003 17:31:11 +0000 (17:31 +0000)]
captive_privbcb_flush()->captive_privbcb_flush_unordered()
CcUnpinData_leave_func() forked to captive_privbcb_flush_ordered()
Fixed LSN ordering across the code.

20 years agoprivbcb_set(): Fixed PRIVBCB_ITEM_LSN_VALID handling.
short [Sun, 13 Jul 2003 16:51:38 +0000 (16:51 +0000)]
privbcb_set(): Fixed PRIVBCB_ITEM_LSN_VALID handling.
 - Do not leave unreachable nodes in 'private_bcb_lsn_tree'.

20 years agoImplemented MAP_NO_READ/PIN_NO_READ for writing files by ntfs.sys of NT-5.1sp1.
short [Sun, 13 Jul 2003 16:28:17 +0000 (16:28 +0000)]
Implemented MAP_NO_READ/PIN_NO_READ for writing files by ntfs.sys of NT-5.1sp1.
 - Not tested yet.
 - Partial leading/trailing PAGE_SIZE mapping not yet supported for MAP_NO_READ.

20 years agoCosmetic: Rename 'struct CcUnpinData_leave_func_param' callbacked user data.
short [Sun, 13 Jul 2003 16:00:55 +0000 (16:00 +0000)]
Cosmetic: Rename 'struct CcUnpinData_leave_func_param' callbacked user data.

20 years agoprivate_bcb_flush_tree->private_bcb_lsn_tree: non-LSN dirty blocks not included
short [Sun, 13 Jul 2003 15:51:36 +0000 (15:51 +0000)]
private_bcb_flush_tree->private_bcb_lsn_tree: non-LSN dirty blocks not included
+PRIVBCB_ITEM_REF_COUNT_DESTRUCTOR: Proper derefercing while privbcb destroy.
+many debug dumps
private_bcb_hash_value_destroy_func(): +sanity check for !privbcb->valid_lsn
CcUnpinData_leave_func(): Cleanup and flush only minimal set of privbcb-s

20 years agoprivate_bcb_flush_tree_key_compare_func(): Oops, LSN must be sorted low-to-high!
short [Sun, 13 Jul 2003 09:28:54 +0000 (09:28 +0000)]
private_bcb_flush_tree_key_compare_func(): Oops, LSN must be sorted low-to-high!

20 years agoprivbcb_set(): Forbid reincarnation of 'leave_func_pending' privbcb.
short [Sun, 13 Jul 2003 09:27:04 +0000 (09:27 +0000)]
privbcb_set(): Forbid reincarnation of 'leave_func_pending' privbcb.
captive_cc_flush(): Flush by g_tree first to attempt to keep LSN ordering.
CcUnpinData_leave_func(): Flush mode if privbcb_stop_at==NULL.
CcUnpinData_leave_func(): Flush only the requested privbcb by CcUnpinData().

20 years ago'last_written_lsn' handling: Use explanatory g_error() instead of g_assert().
short [Sun, 13 Jul 2003 06:51:31 +0000 (06:51 +0000)]
'last_written_lsn' handling: Use explanatory g_error() instead of g_assert().

20 years agoprivbcb_set(): More foolproof calling convention syntax.
short [Sun, 13 Jul 2003 06:41:41 +0000 (06:41 +0000)]
privbcb_set(): More foolproof calling convention syntax.
privbcb_set(): Fixed updating of 'lsn_valid' field.

20 years ago+comment file multi-mapping and #define CAPTIVE_FILE_INITIALIZED_CACHE_IS_LINEAR
short [Sat, 12 Jul 2003 18:49:33 +0000 (18:49 +0000)]
+comment file multi-mapping and #define CAPTIVE_FILE_INITIALIZED_CACHE_IS_LINEAR