Skip to content

Commit d25b449

Browse files
ahrensbehlendorf
authored andcommitted
Illumos 5141 - zfs minimum indirect block size is 4K
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 illumos/illumos-gate@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>
1 parent ee3a23b commit d25b449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/sys/dnode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extern "C" {
5757
* Fixed constants.
5858
*/
5959
#define DNODE_SHIFT 9 /* 512 bytes */
60-
#define DN_MIN_INDBLKSHIFT 10 /* 1k */
60+
#define DN_MIN_INDBLKSHIFT 12 /* 4k */
6161
#define DN_MAX_INDBLKSHIFT 14 /* 16k */
6262
#define DNODE_BLOCK_SHIFT 14 /* 16k */
6363
#define DNODE_CORE_SIZE 64 /* 64 bytes for dnode sans blkptrs */

0 commit comments

Comments
 (0)