Bug #3122
closedzfs destroy filesystem should prefetch blocks
90%
Description
The new background destroy of filesystems doesn't prefetch blocks, which makes it quite slow. The problem is that the TRAVERSE_PREFETCH_METADATA doesn't actually work (metadata is not prefetched). So we need to fix the traversal code.
This is the destroy performance win Matt Aherns blogged in the second-to-last paragraph here:
http://blog.delphix.com/matt/2012/07/11/performance-of-zfs-destroy/
Updated by Eric Schrock over 11 years ago
- Status changed from In Progress to Resolved
changeset: 13792:4be8368f41e4
tag: tip
user: Matthew Ahrens <mahrens@delphix.com>
date: Fri Aug 31 07:26:05 2012 -0700
description:
3122 zfs destroy filesystem should prefetch blocks
Reviewed by: Christopher Siden <chris.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>