From 315ea376cbb90d67ac6d4bd8086b2d98339154cb Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 28 Sep 2000 11:25:16 +0000 Subject: Make sure we map the 'free' block to a block number when unlinking a block 2000-09-28 Not Zed * block.c (ibex_block_free): Make sure we map the 'free' block to a block number when unlinking a block (fixes a lot of assertion failures). (ibex_block_cache_open): Initialise sync flag on root block. If it is not set on open then the index could be in an invalid state, and should be rescanned. (ibex_block_cache_sync): Sync root block last, and set the sync flag. (ibex_block_cache_open): Mirror root block flags in block_cache struct. (ibex_block_cache_sync): Likewise. (ibex_block_read): If we write a dirty block, then we clear the sync flag if its still set; we are no longer synced. svn path=/trunk/; revision=5613 --- libibex/ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'libibex/ChangeLog') diff --git a/libibex/ChangeLog b/libibex/ChangeLog index 1c80c8348b..5e16a0666b 100644 --- a/libibex/ChangeLog +++ b/libibex/ChangeLog @@ -1,3 +1,19 @@ +2000-09-28 Not Zed + + * block.c (ibex_block_free): Make sure we map the 'free' block to + a block number when unlinking a block (fixes a lot of assertion + failures). + (ibex_block_cache_open): Initialise sync flag on root block. If + it is not set on open then the index could be in an invalid state, + and should be rescanned. + (ibex_block_cache_sync): Sync root block last, and set the sync + flag. + (ibex_block_cache_open): Mirror root block flags in block_cache + struct. + (ibex_block_cache_sync): Likewise. + (ibex_block_read): If we write a dirty block, then we clear the + sync flag if its still set; we are no longer synced. + 2000-09-19 Not Zed ** Merged from IBEX_DISK branch to head. -- cgit v1.2.3