Project

General

Profile

Bug #5141

zfs minimum indirect block size is 4K

Added by Matthew Ahrens about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2014-09-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The smallest indirect block size that we use is 4K (for the DDT). We should
encode and enforce this in the code. This will ensure that we never do
something wasteful like set the indirect block size to 1K when on 4K-sector
devices (which ztest does today). It also allows some space estimates to be
tighter, and to use a little less memory for some data structures that have an
entry per possible level.

History

#1

Updated by Electric Monk about 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit e94f268a6264bf027b3bc556fb4cceb84f7323c5

commit  e94f268a6264bf027b3bc556fb4cceb84f7323c5
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2014-09-10T18:19:51.000Z

    5141 zfs minimum indirect block size is 4K
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Richard Elling <richard.elling@gmail.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF