zfsimpl.h (268649) | zfsimpl.h (272332) |
---|---|
1/*- 2 * Copyright (c) 2002 McAfee, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by Marshall 6 * Kirk McKusick and McAfee Research,, the Security Research Division of 7 * McAfee, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as 8 * part of the DARPA CHATS research program --- 826 unchanged lines hidden (view full) --- 835 */ 836#define DNODE_MUST_BE_ALLOCATED 1 837#define DNODE_MUST_BE_FREE 2 838 839/* 840 * Fixed constants. 841 */ 842#define DNODE_SHIFT 9 /* 512 bytes */ | 1/*- 2 * Copyright (c) 2002 McAfee, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by Marshall 6 * Kirk McKusick and McAfee Research,, the Security Research Division of 7 * McAfee, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as 8 * part of the DARPA CHATS research program --- 826 unchanged lines hidden (view full) --- 835 */ 836#define DNODE_MUST_BE_ALLOCATED 1 837#define DNODE_MUST_BE_FREE 2 838 839/* 840 * Fixed constants. 841 */ 842#define DNODE_SHIFT 9 /* 512 bytes */ |
843#define DN_MIN_INDBLKSHIFT 10 /* 1k */ | 843#define DN_MIN_INDBLKSHIFT 12 /* 4k */ |
844#define DN_MAX_INDBLKSHIFT 14 /* 16k */ 845#define DNODE_BLOCK_SHIFT 14 /* 16k */ 846#define DNODE_CORE_SIZE 64 /* 64 bytes for dnode sans blkptrs */ 847#define DN_MAX_OBJECT_SHIFT 48 /* 256 trillion (zfs_fid_t limit) */ 848#define DN_MAX_OFFSET_SHIFT 64 /* 2^64 bytes in a dnode */ 849 850/* 851 * Derived constants. --- 605 unchanged lines hidden --- | 844#define DN_MAX_INDBLKSHIFT 14 /* 16k */ 845#define DNODE_BLOCK_SHIFT 14 /* 16k */ 846#define DNODE_CORE_SIZE 64 /* 64 bytes for dnode sans blkptrs */ 847#define DN_MAX_OBJECT_SHIFT 48 /* 256 trillion (zfs_fid_t limit) */ 848#define DN_MAX_OFFSET_SHIFT 64 /* 2^64 bytes in a dnode */ 849 850/* 851 * Derived constants. --- 605 unchanged lines hidden --- |