Commit Graph

53 Commits (944ace8f703093c4abd449b584ed46910efd102a)

Author SHA1 Message Date
Siying Dong d616ebea23 Add GPLv2 as an alternative license. 8 years ago
Maysam Yabandeh 4c9447d889 Add erase option to release cache 8 years ago
Siying Dong d2dce5611a Move some files under util/ to separate dirs 8 years ago
Siying Dong 2d75cd40d3 NewLRUCache() to pick number of shard bits based on capacity if not given 8 years ago
Andrew Kryczka 94a0c32e73 Fix LRU Ref() for handles with external references only 8 years ago
Andrew Kryczka fe395fb63d Allow incrementing refcount on cache handles 8 years ago
Yi Wu ab48c165a9 Print cache options to info log 8 years ago
Yi Wu badbff65b7 Not insert into block cache if cache is full and not holding handle 8 years ago
Yi Wu 4a16c32ece Option to cache index/filter blocks with priority 8 years ago
Yi Wu 72f8cc703c LRU cache mid-point insertion 8 years ago
Yi Wu 2a2ebb6f5e Move LRUCache structs to lru_cache.h header 8 years ago
Aaron Gao e408e98c8c add Name() to Cache 8 years ago
Yi Wu 4b95253587 Refactor cache.cc 8 years ago
Aaron Gao 5d660258e7 add simulator Cache as class SimCache/SimLRUCache(with test) 9 years ago
sdong 1518b733eb Change default number of cache shard bit to be 6 and max_file_opening_threads to be 16. 9 years ago
Marton Trencseni 9b51987521 Adding pin_l0_filter_and_index_blocks_in_cache feature and related fixes. 9 years ago
Yi Wu f71fc77b7c Cache to have an option to fail Cache::Insert() when full 9 years ago
Baraa Hamodi 21e95811d1 Updated all copyright headers to the new format. 9 years ago
SherlockNoMad 3a98a7ae7f Replace malloc with new for LRU Cache Handle 9 years ago
Islam AbdelRahman 51fa7ecec5 Bytes read/written from cache statistics 9 years ago
Aaron Feldman 69bb210d58 Add Cache.GetPinnedUsageUsage() 10 years ago
Aashish Pant 242f9b4c26 Fix CLANG build issue introduced in previous commit 10 years ago
Aashish Pant 794ccfde89 Task 6532943: Rocksdb - SetCapacity() can dynamically change cache capacity if feasible 10 years ago
Igor Canadi c88ff4ca76 Deprecate removeScanCountLimit in NewLRUCache 10 years ago
Igor Sugak 62247ffa3b rocksdb: Add missing override 10 years ago
Alexey Maykov ee95cae9a4 Modifed the LRU cache eviction code so that it doesn't evict blocks which have exteranl references 10 years ago
Igor Canadi 767777c2bd Turn on -Wshorten-64-to-32 and fix all the errors 10 years ago
Igor Canadi 9f7fc3ac45 Turn on -Wshadow 10 years ago
Igor Canadi 4ecfbcf865 ApplyToAllCacheEntries 11 years ago
Igor Canadi b13bdfa500 Add a call DisownData() to Cache, which should speed up shutdown 11 years ago
Kai Liu 774ed89c24 Replace vector with autovector 11 years ago
kailiu 5f5e5fc2e9 Revert `atomic_size_t usage` 11 years ago
kailiu b660e2d468 Expose usage info for the cache 11 years ago
Igor Canadi e8d40c31b3 [RocksDB perf] Cache speedup 11 years ago
kailiu c79e595471 Make Cache::GetCapacity constant 11 years ago
kailiu 21587760b9 Fixing the warning messages captured under mac os # Consider using `git commit -m 'One line title' && arc diff`. # You will save time by running lint and unit in the background. 11 years ago
Dhruba Borthakur 9cd221094c Add appropriate LICENSE and Copyright message. 11 years ago
sdong f8509653ba LRUCache to try to clean entries not referenced first. 11 years ago
Igor Canadi fa46ddb41f Move delete and free outside of crtical section 11 years ago
Dhruba Borthakur a143ef9b38 Change namespace from leveldb to rocksdb 11 years ago
Rajat Goel 11c65021fb Revert "Minor fixes found while trying to compile it using clang on Mac OS X" 11 years ago
Rajat Goel 5f2c136c32 Minor fixes found while trying to compile it using clang on Mac OS X 11 years ago
Dhruba Borthakur 1186192ed1 Replace include/leveldb with include/rocksdb. 11 years ago
Haobo Xu a77bc3d14c [RocksDB] Fix LRUCache Eviction problem 12 years ago
Abhishek Kona c41f1e995c Codemod NULL to nullptr 12 years ago
Chip Turner 2fdf91a4f8 Fix a number of object lifetime/ownership issues 12 years ago
Kosie van der Merwe 4d339d7462 Fixed memory leak in ShardedLRUCache 12 years ago
Dhruba Borthakur aa42c66814 Fix all warnings generated by -Wall option to the compiler. 12 years ago
Dhruba Borthakur 72c45c66c6 Print the block cache size in the LOG. 12 years ago
Dhruba Borthakur e5fe80e4e3 The sharding of the block cache is limited to 2*20 pieces. 12 years ago