From bf9adc6fe8bf20d5be701ab81a156282cc38f651 Mon Sep 17 00:00:00 2001 From: Matthew Ahrens Date: Sat, 9 Jan 2016 19:33:11 +0100 Subject: [PATCH] Illumos 5141 - zfs minimum indirect block size is 4K 5141 zfs minimum indirect block size is 4K Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Richard Elling Approved by: Dan McDonald 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 --- include/sys/dnode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/dnode.h b/include/sys/dnode.h index 50e01155903a..c5250d51abf1 100644 --- a/include/sys/dnode.h +++ b/include/sys/dnode.h @@ -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 */