Print this page
4185 New hash algorithm support

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dmu.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dmu.h
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright (c) 2013 by Delphix. All rights reserved.
  25   25   * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  26   26   * Copyright (c) 2012, Joyent, Inc. All rights reserved.
       27 + * Copyright 2013 Saso Kiselkov. All rights reserved.
  27   28   */
  28   29  
  29   30  /* Portions Copyright 2010 Robert Milkowski */
  30   31  
  31   32  #ifndef _SYS_DMU_H
  32   33  #define _SYS_DMU_H
  33   34  
  34   35  /*
  35   36   * This file describes the interface that the DMU provides for its
  36   37   * consumers.
↓ open down ↓ 265 lines elided ↑ open up ↑
 302  303  #define DMU_POOL_PROPS                  "pool_props"
 303  304  #define DMU_POOL_L2CACHE                "l2cache"
 304  305  #define DMU_POOL_TMP_USERREFS           "tmp_userrefs"
 305  306  #define DMU_POOL_DDT                    "DDT-%s-%s-%s"
 306  307  #define DMU_POOL_DDT_STATS              "DDT-statistics"
 307  308  #define DMU_POOL_CREATION_VERSION       "creation_version"
 308  309  #define DMU_POOL_SCAN                   "scan"
 309  310  #define DMU_POOL_FREE_BPOBJ             "free_bpobj"
 310  311  #define DMU_POOL_BPTREE_OBJ             "bptree_obj"
 311  312  #define DMU_POOL_EMPTY_BPOBJ            "empty_bpobj"
      313 +#define DMU_POOL_CHECKSUM_SALT          "checksum_salt"
 312  314  
 313  315  /*
 314  316   * Allocate an object from this objset.  The range of object numbers
 315  317   * available is (0, DN_MAX_OBJECT).  Object 0 is the meta-dnode.
 316  318   *
 317  319   * The transaction must be assigned to a txg.  The newly allocated
 318  320   * object will be "held" in the transaction (ie. you can modify the
 319  321   * newly allocated object in this transaction).
 320  322   *
 321  323   * dmu_object_alloc() chooses an object and returns it in *objectp.
↓ open down ↓ 492 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX