summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-08-12 22:41:06 +0000
committermav <mav@FreeBSD.org>2015-08-12 22:41:06 +0000
commit99cadf9eedff63c2d1d6b1a5296b21ca12ac2aa0 (patch)
tree66f394e094d8472a37e6c1a6cae22884f36b19e2 /sbin
parentcf4bfabada452f2c53ccd56f1ea15159ddf2a1a6 (diff)
downloadFreeBSD-src-99cadf9eedff63c2d1d6b1a5296b21ca12ac2aa0.zip
FreeBSD-src-99cadf9eedff63c2d1d6b1a5296b21ca12ac2aa0.tar.gz
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.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud