Open piste-jp opened 1 year ago
How would this be a benefit over using standard filesystem tools such as du
or df
to calculate the file sizes on the volume?
The concern with having a filesystem-wide value that holds the sum of the file sizes on the volume is that maintaining the accuracy of the total is fairly complex and will likely require both a global lock, and some interpolation of the seek and write operations per open file.
Is your feature request related to a problem? Please describe. I would like to know how the total file size in a LTFS tape (accumulated logical size without tape drive compression and size of indexes).
Describe the solution you'd like Add a field into
struct ltfs_index
.