freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs
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
..
zfs MFV r286704: 5960 zfs recv should prefetch indirect blocks 2015-08-12 22:41:06 +00:00
gfs.c Use the "zfs_gfs" tag for GFS vnodes to make them easier to identify. 2015-01-20 22:31:26 +00:00
vnode.c vfs: implement v_holdcnt/v_usecount manipulation using atomic ops 2015-07-16 13:57:05 +00:00