|
|
|
|
|
by codys
911 days ago
|
|
> But I recall reading elsewhere a discussion about some userspace program which did depend on holes being present in the filesystem as actual holes (visible to SEEK_HOLE and so on) and not as runs of zeros. "treatment of on-disk segments as "what was written by programs" can cause areas of 0 to not be written by bmaptool copy": https://github.com/intel/bmap-tools/issues/75 IMO, the issue here isn't filesystem or zfs behavior, it's that bmap-tool wants an extra "don't care bit" per block, which filesystems (traditionally) don't track, and programs interacting with filesystem don't expect to exist. Some of the comments I've made in this issue describe options to make things better. (FWIW: the original hn link discusses a different issue around seek hole/data, and the bmap-tool issue is backwards from the issue the parent posits: bmap-tool relies on explicit runs of zeros written not being holes, and particular behavior from programs writing data) |
|