Actions
Bug #5692
closedexpose the number of hole blocks in a file
Start date:
2015-03-08
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
We would like to expose the number of hole (sparse) blocks in a file. This can be useful to for example if you want to fill in the holes with some data; knowing the number of holes in advances allows you to report progress on hole filling. We could use SEEK_HOLE to do that but it would be O(n) where n is the number of holes present in the file.
Actions