Optimizing of metadata management in large-scale file systems