Print this page
4171 clean up spa_feature_*() interfaces
4172 implement extensible_dataset feature for use by other zpool features
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dnode.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dnode.h
↓ open down ↓ 170 lines elided ↑ open up ↑
 171  171          uint8_t dn_nblkptr;             /* number of blkptrs (immutable) */
 172  172          uint8_t dn_checksum;            /* ZIO_CHECKSUM type */
 173  173          uint8_t dn_compress;            /* ZIO_COMPRESS type */
 174  174          uint8_t dn_nlevels;
 175  175          uint8_t dn_indblkshift;
 176  176          uint8_t dn_datablkshift;        /* zero if blksz not power of 2! */
 177  177          uint8_t dn_moved;               /* Has this dnode been moved? */
 178  178          uint16_t dn_datablkszsec;       /* in 512b sectors */
 179  179          uint32_t dn_datablksz;          /* in bytes */
 180  180          uint64_t dn_maxblkid;
      181 +        uint8_t dn_next_type[TXG_SIZE];
 181  182          uint8_t dn_next_nblkptr[TXG_SIZE];
 182  183          uint8_t dn_next_nlevels[TXG_SIZE];
 183  184          uint8_t dn_next_indblkshift[TXG_SIZE];
 184  185          uint8_t dn_next_bonustype[TXG_SIZE];
 185  186          uint8_t dn_rm_spillblk[TXG_SIZE];       /* for removing spill blk */
 186  187          uint16_t dn_next_bonuslen[TXG_SIZE];
 187  188          uint32_t dn_next_blksz[TXG_SIZE];       /* next block size in bytes */
 188  189  
 189  190          /* protected by dn_dbufs_mtx; declared here to fill 32-bit hole */
 190  191          uint32_t dn_dbufs_count;        /* count of dn_dbufs */
↓ open down ↓ 140 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX