From b4c3c0fa9b3fa9ce8ad64784ccf183e16b084b8c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 15 Aug 2001 04:57:51 +0000 Subject: New function to limit use of fd's. Mark an ibex file in use, re-open if 2001-08-15 Not Zed * ibex_block.c (ibex_use): New function to limit use of fd's. Mark an ibex file in use, re-open if necessary, and close off another (lru) if necessary. (ibex_unuse): Mark an ibex as not in use. (ibex_open): Delay opening of the actual block file till later, and add the ibex to a global list. (ibex_save): Use/unuse around operations. (close_backend): Zero out blocks when closed. (ibex_close): Remove the ibex from the global list before closing it down. (ibex_index_buffer, ibex_find, ibex_unindex, ibex_find_name): Use/unuse around ops. svn path=/trunk/; revision=12042 --- libibex/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'libibex/ChangeLog') diff --git a/libibex/ChangeLog b/libibex/ChangeLog index 80340c7af8..7691a94e5c 100644 --- a/libibex/ChangeLog +++ b/libibex/ChangeLog @@ -1,3 +1,18 @@ +2001-08-15 Not Zed + + * ibex_block.c (ibex_use): New function to limit use of fd's. + Mark an ibex file in use, re-open if necessary, and close off + another (lru) if necessary. + (ibex_unuse): Mark an ibex as not in use. + (ibex_open): Delay opening of the actual block file till later, + and add the ibex to a global list. + (ibex_save): Use/unuse around operations. + (close_backend): Zero out blocks when closed. + (ibex_close): Remove the ibex from the global list before closing + it down. + (ibex_index_buffer, ibex_find, ibex_unindex, ibex_find_name): + Use/unuse around ops. + 2001-08-10 Not Zed * wordindexmem.c (sync_cache_entry): NOOP if writing to a failed -- cgit