freebsd-dev/cddl
Alexander Motin b696497df0 MFV r286704: 5960 zfs recv should prefetch indirect blocks
5925 zfs receive -o origin=

Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Author: Paul Dagnelie <pcd@delphix.com>

While running 'zfs recv' we noticed that every 128th 8K block required a
read. We were seeing that restore_write() was calling dmu_tx_hold_write()
and the indirect block was not cached. We should prefetch upcoming indirect
blocks to avoid having to go to disk and blocking the restore_write().

Allow an incremental send stream to be received as a clone, even if the
stream does not mark it as a clone.
2015-08-12 22:41:06 +00:00
..
compat/opensolaris Use calloc() instead of malloc() + bzero(). This also gets rid of a warning 2014-12-08 06:10:47 +00:00
contrib MFV r286704: 5960 zfs recv should prefetch indirect blocks 2015-08-12 22:41:06 +00:00
lib - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
sbin Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
usr.bin Add META_MODE support. 2015-06-13 19:20:56 +00:00
usr.sbin Add a src.conf option to build and install the DTrace test suite. 2015-08-02 00:37:33 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Make DTrace stuff compile with C99 standard. 2014-08-22 20:04:51 +00:00