]> granicus.if.org Git - zfs/commitdiff
Illumos 5141 - zfs minimum indirect block size is 4K
authorMatthew Ahrens <mahrens@delphix.com>
Sat, 9 Jan 2016 18:33:11 +0000 (19:33 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 12 Jan 2016 22:11:31 +0000 (14:11 -0800)
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>

References:
  https://www.illumos.org/issues/5141
  https://github.com/illumos/illumos-gate/commit/e94f268

Porting notes:
- GRUB  --  GRand Unified Bootloader change wasn't merged (not applicable)

Ported-by: kernelOfTruth kerneloftruth@gmail.com
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/dnode.h

index 50e01155903aa3e2b7b1be879dd31e62ddcba5e6..c5250d51abf11b0a6172c76995ba21b713dfd79c 100644 (file)
@@ -57,7 +57,7 @@ extern "C" {
  * Fixed constants.
  */
 #define        DNODE_SHIFT             9       /* 512 bytes */
-#define        DN_MIN_INDBLKSHIFT      10      /* 1k */
+#define        DN_MIN_INDBLKSHIFT      12      /* 4k */
 #define        DN_MAX_INDBLKSHIFT      14      /* 16k */
 #define        DNODE_BLOCK_SHIFT       14      /* 16k */
 #define        DNODE_CORE_SIZE         64      /* 64 bytes for dnode sans blkptrs */