freebsd-dev/sys/cddl/contrib/opensolaris/uts/common
Andriy Gapon 9f2d1b28df MFV (partial) r286889: 5692 expose the number of hole blocks in a file
FreeBSD porting notes:
- only kernel-side changes are merged
- the new ioctl is not actually implemented yet
- thus, the goal is to synchronize DMU code

illumos/illumos-gate@2bcf0248e9

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>
2015-08-24 09:48:50 +00:00
..
ctf
dtrace Avoid dereferencing curthread->td_proc->p_cred in DTrace probe context. 2015-08-02 00:11:56 +00:00
fs MFV (partial) r286889: 5692 expose the number of hole blocks in a file 2015-08-24 09:48:50 +00:00
os Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
sys First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
zmod
Makefile.files MFV r277431: 5497 lock contention on arcs_mtx 2015-08-14 09:31:07 +00:00