Wip sandisk optimized

I would like Inktank to review these changes.