aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2016-01-09 19:33:11 +0100
committerBrian Behlendorf <[email protected]>2016-01-12 14:11:31 -0800
commitd25b4497b7c7c209cbe28d31189bd7b2489b3d2f (patch)
tree97f4d99a59ad287a55e09998fdcd937260dcabeb
parentee3a23b84e7f635b9b32448909f1b780d0c156bf (diff)
Illumos 5141 - zfs minimum indirect block size is 4K
5141 zfs minimum indirect block size is 4K Reviewed by: Christopher Siden <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Richard Elling <[email protected]> Approved by: Dan McDonald <[email protected]> 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 [email protected] Signed-off-by: Brian Behlendorf <[email protected]>
-rw-r--r--include/sys/dnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/dnode.h b/include/sys/dnode.h
index 50e011559..c5250d51a 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 */