changes to ssd_alloc