Text this: Global repair bandwidth cost optimization of generalized regenerating codes in clustered distributed storage systems