diff options
author | avg <avg@FreeBSD.org> | 2015-08-18 14:10:04 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2015-08-18 14:10:04 +0000 |
commit | 22961656075e3521953cf65daefa49e272ace929 (patch) | |
tree | 8e52044dc15fb60d7eac90b82e111bf2192cc9c5 /contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | eb69350ec70574a6956c231d3e63ee7da250bd74 (diff) | |
download | FreeBSD-src-22961656075e3521953cf65daefa49e272ace929.zip FreeBSD-src-22961656075e3521953cf65daefa49e272ace929.tar.gz |
5692 expose the number of hole blocks in a file
illumos/illumos-gate@2bcf0248e992f292c7b814458bcdce2f004925d6
https://www.illumos.org/issues/5692
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.
Author: Max Grossman <max.grossman@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Boris Protopopov <bprotopopov@hotmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions