CodFS: An Erasure-Coded Clustered Storage System for Efficient Updates and Recovery