diff options
author | mav <mav@FreeBSD.org> | 2015-08-12 22:36:02 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-08-12 22:36:02 +0000 |
commit | fa45fdeca1344cfcb3b93252af1520dac8f43d56 (patch) | |
tree | 9eef9f6b8de29802db3d4f04e2da790f3ebe8a7a /contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | f234199f863592dd7e9cad9c9e0dae2ce084cea8 (diff) | |
download | FreeBSD-src-fa45fdeca1344cfcb3b93252af1520dac8f43d56.zip FreeBSD-src-fa45fdeca1344cfcb3b93252af1520dac8f43d56.tar.gz |
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().
Diffstat (limited to 'contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions