[PATCH 07/13] Don't exit on full silo

2012-10-01 Thread Martin Blix Grydeland
This then also breaks the previous expectation that cur_seg would always be non-NULL. Change the code to take this into account. --- bin/varnishd/storage/storage_persistent.c | 24 +--- bin/varnishd/storage/storage_persistent_silo.c | 71 2 files changed, 54 i

[PATCH 07/13] Don't exit on full silo

2012-09-28 Thread Martin Blix Grydeland
This then also breaks the previous expectation that cur_seg would always be non-NULL. Change the code to take this into account. Review comments: + ALLOC_OBJ(sg, SMP_SEG_MAGIC); > + AN(sg); > Instead of AN, you should just return failure. We should handle > malloc failures gracefully