diff options
author | dormando <dormando@rydia.net> | 2012-01-03 18:27:52 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2012-01-03 19:04:04 -0800 |
commit | 8c1c18eda8f56a23a88ddfe7e9cc3d58e461af22 (patch) | |
tree | 054470a656e575460f41424f76307cbd8bcbedbb /slabs.h | |
parent | 99fc043af90170757a34802bd96111999013d0bc (diff) | |
download | memcached-8c1c18eda8f56a23a88ddfe7e9cc3d58e461af22.tar.gz |
no same-class reassignment, better errors
Add human parseable strings to the errors for slabs ressign. Also prevent
reassigning memory to the same source and destination.
Diffstat (limited to 'slabs.h')
-rw-r--r-- | slabs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ void stop_slab_maintenance_thread(void); enum reassign_result_type { REASSIGN_OK=0, REASSIGN_RUNNING, REASSIGN_BADCLASS, REASSIGN_NOSPARE, - REASSIGN_DEST_NOT_FULL, REASSIGN_SRC_NOT_SAFE + REASSIGN_DEST_NOT_FULL, REASSIGN_SRC_NOT_SAFE, REASSIGN_SRC_DST_SAME }; enum reassign_result_type slabs_reassign(int src, int dst); |