Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
3.0.0
-
None
Description
Currently, the OIV tool does not support printing EC policy and EC replication of EC file. In addition, fsImage records only data blocks of EC files, ignoring parity blocks.
We can calculate replication for EC files based on (data block + Parity Block)/(data block).
For example, if we write 10K data to file a.txt whose EC policy is RS-6-3-1 K, the file will consist of 10 data blocks and 6 parity block. So its replication factor is 1.6.