diff options
author | dormando <dormando@rydia.net> | 2020-08-29 23:15:23 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-10-30 15:50:12 -0700 |
commit | 416a7a10014299fd08bf4b35e4ffa0870cd330b0 (patch) | |
tree | 6c767d9538b00bae8a393e609a73790e015d6610 /items.h | |
parent | df49d38930a32d342e1a3ab980c1ec432d138c2c (diff) | |
download | memcached-416a7a10014299fd08bf4b35e4ffa0870cd330b0.tar.gz |
core: move more storage functions to storage.c
extstore.h is now only used from storage.c. starting a path towards
getting the storage interface to be more generalized.
should be no functional changes.
Diffstat (limited to 'items.h')
-rw-r--r-- | items.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -84,16 +84,3 @@ void lru_maintainer_pause(void); void lru_maintainer_resume(void); void *lru_bump_buf_create(void); - -#ifdef EXTSTORE -#define STORAGE_delete(e, it) \ - do { \ - if (it->it_flags & ITEM_HDR) { \ - item_hdr *hdr = (item_hdr *)ITEM_data(it); \ - extstore_delete(e, hdr->page_id, hdr->page_version, \ - 1, ITEM_ntotal(it)); \ - } \ - } while (0) -#else -#define STORAGE_delete(...) -#endif |