Searched +hist:4 +hist:ea83177 (Results 1 - 1 of 1) sorted by relevance
/haiku/src/system/kernel/cache/ | ||
H A D | block_cache.cpp | diff 4af30335 Wed Aug 18 10:44:51 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * We need to reset the blockNumber, or else we'll discard the wrong blocks which has rather desastrous consequences - thanks to Stippi for the heads up :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38242 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4ea83177 Mon Feb 15 06:07:14 MST 2010 Axel Dörfler <axeld@pinc-software.de> * Implemented a BlockWriter class that now performs writing back blocks. * Renamed the "busy" stuff to "busy_reading", and added a "busy_writing" concept. * This now allows reading a block (and other blocks), while blocks are written back. This should speed all operations needing to write back blocks, like unzipping or compiling. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35464 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4ea83177 Mon Feb 15 06:07:14 MST 2010 Axel Dörfler <axeld@pinc-software.de> * Implemented a BlockWriter class that now performs writing back blocks. * Renamed the "busy" stuff to "busy_reading", and added a "busy_writing" concept. * This now allows reading a block (and other blocks), while blocks are written back. This should speed all operations needing to write back blocks, like unzipping or compiling. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35464 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 98092e98 Wed Mar 18 16:43:47 MDT 2009 Ingo Weinhold <ingo_weinhold@gmx.de> gcc 4 fixes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29602 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4bfeb6f3 Wed Aug 20 02:09:18 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Changed the way how a cache is destructed: now, it is removed from the global cache list before locking it. This allows to get rid of the block_cache::deleting field, as well as simplifies some code. * This also fixes a possible deadlock I recently introduced (on destruction, the locking order was wrong). * Now uses an anonymous condition variable instead. * Moved the block_cache initialization code into a dedicated method that will now also fail in case the low resource handler couldn't be registered (as pointed out by Salvatore). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27074 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff fae99f15 Fri Mar 14 16:03:26 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> cached_block::Compare() was ignoring the upper 32 bit of the block number. Was a problem only for partitions > 2^32 * block size (4TB for 1KB blocks). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24393 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4a67038e Mon Jan 21 12:57:40 MST 2008 Axel Dörfler <axeld@pinc-software.de> * Added a new function hash_insert_grow() that grows the hash table when needed. * Removed the public hash_grow() function again (at least for now, it's only private). * Removed the newSize argument from hash_grow(); it will compute the new size automatically. * The block cache is now using hash_insert_grow() instead of hash_insert() which should make hash lookups much faster with some 10 thousand blocks, also increased the initial table size from 32 to 1024... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23692 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4fc4f2c8 Sun Jan 13 10:18:29 MST 2008 Axel Dörfler <axeld@pinc-software.de> * Added a transaction listener mechanism to be notified when a transaction ends or has been aborted. * BFS now listens for transactions when it created an inode to see if the transaction will be aborted without freeing the inode (in which case it will panic for now). * Started implementing tracing support, but it's not working yet. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23492 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4afaeabb Sun Dec 02 09:38:38 MST 2007 Axel Dörfler <axeld@pinc-software.de> * bfs_free_cookie() accidently reverted a transaction after having updated the inode's internal last modified and size copies, causing in inconsistent data. This fixes #1643. * The block being replayed are now dumped to the debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23050 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4c0f46e2 Fri Dec 16 08:50:13 MST 2005 Axel Dörfler <axeld@pinc-software.de> The block_cache::LowMemoryHandler() must check if it could acquire the cache's lock; it might have been deleted in the mean time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15565 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
Completed in 179 milliseconds