diff options
author | Jakob Unterwurzacher | 2018-07-01 19:14:00 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-07-01 21:48:51 +0200 |
commit | 2d68b06f9dab66b2a0a6c29c8d5450e2b1d43fae (patch) | |
tree | 77f1b55fca2cf58595b33e8d062cf6437f85f283 /tests/fsck/broken_fs_v1.4/GUvJFSfy7S1AXUdy4pDRLw | |
parent | e951043084937c42421debf457e33b3db3b5bac4 (diff) |
fsck: handle sparse files efficiently, fix xfstests generic/285
If we encounter a 128KB block of zeros, try to skip to the next
data section by calling File.SeekData().
This fixes xfstests generic/285, which creates a 17TB sparse file,
and runs fsck afterwards. Without this optimization, fsck would
take ages.
Diffstat (limited to 'tests/fsck/broken_fs_v1.4/GUvJFSfy7S1AXUdy4pDRLw')
0 files changed, 0 insertions, 0 deletions