Commit Graph

25 Commits (0be1feec216cfdbc1c8feab95c88dad2eefab3df)

Author SHA1 Message Date
Eli Pozniansky 74fb7f0ba5 Cleaned up and simplified LRU cache implementation (#5579) 6 years ago
Zhongyi Xie d68f9f4580 simplify include directive involving inttypes (#5402) 6 years ago
Levi Tamasi 34f8ac0c99 Make adaptivity of LRU cache mutexes configurable (#5054) 6 years ago
Yi Wu 05d9d82181 Revert "Move MemoryAllocator option from Cache to BlockBasedTableOpti… (#4697) 6 years ago
Yi Wu b32d087dbb Move MemoryAllocator option from Cache to BlockBasedTableOptions (#4676) 6 years ago
Yi Wu f560c8f5c8 s/CacheAllocator/MemoryAllocator/g (#4590) 6 years ago
Igor Canadi 1cf5deb8fd Introduce CacheAllocator, a custom allocator for cache blocks (#4437) 6 years ago
Yanqin Jin 26d67e357e Support group commits of version edits (#3944) 7 years ago
Taewook Oh b557499eee Suppress leak warning for clang(LLVM) asan (#4066) 7 years ago
Yi Wu 724855c7da Fix LRUCache missing null check on destruct 7 years ago
Yi Wu bc7e8d472e LRUCache midpoint insertion 7 years ago
Yi Wu 7a99c04311 refactor constructor of LRUCacheShard 7 years ago
Phani Shekhar Mantripragada 4b65cfc723 Support for block_cache num_shards and other config via option string. 7 years ago
Prashant D d9240b548c Fix coverity uninitialized fields warnings in lru_cache 7 years ago
raistlin ee2b1ec1e8 Fix unstable floating point exception 7 years ago
Dmitri Smirnov 0ec90a7cc2 Add -DPORTABLE=1 to MSVC CI build 7 years ago
Yi Wu e83d6a02e3 Not using aligned_alloc with gcc4 + asan 7 years ago
Archit Mishra 09ac6206ab Circumvent ASAN false positive 7 years ago
yiwu-arbug e367774d19 Overload new[] to properly align LRUCacheShard 7 years ago
Daniel Black 16e0388205 LRUCacheShard cache line size alignment 8 years ago
Sushma Devendrappa 0655b58582 enable PinnableSlice for RowCache 8 years ago
Siying Dong 3c327ac2d0 Change RocksDB License 8 years ago
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 9 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