Print this page
4185 New hash algorithm support

Split Close
Expand all
Collapse all
          --- old/usr/src/common/zfs/zfeature_common.c
          +++ new/usr/src/common/zfs/zfeature_common.c
↓ open down ↓ 159 lines elided ↑ open up ↑
 160  160              "Snapshots use less space.", B_TRUE, B_FALSE, NULL);
 161  161          zfeature_register(SPA_FEATURE_LZ4_COMPRESS,
 162  162              "org.illumos:lz4_compress", "lz4_compress",
 163  163              "LZ4 compression algorithm support.", B_FALSE, B_FALSE, NULL);
 164  164          zfeature_register(SPA_FEATURE_MULTI_VDEV_CRASH_DUMP,
 165  165              "com.joyent:multi_vdev_crash_dump", "multi_vdev_crash_dump",
 166  166              "Crash dumps to multiple vdev pools.", B_FALSE, B_FALSE, NULL);
 167  167          zfeature_register(SPA_FEATURE_SPACEMAP_HISTOGRAM,
 168  168              "com.delphix:spacemap_histogram", "spacemap_histogram",
 169  169              "Spacemaps maintain space histograms.", B_TRUE, B_FALSE, NULL);
      170 +        zfeature_register(SPA_FEATURE_SHA512,
      171 +            "org.illumos:sha512", "sha512",
      172 +            "SHA-512/256 truncated hash algorithm.", B_FALSE, B_FALSE, NULL);
      173 +        zfeature_register(SPA_FEATURE_SKEIN,
      174 +            "org.illumos:skein", "skein",
      175 +            "Skein hash algorithm.", B_FALSE, B_FALSE, NULL);
      176 +        zfeature_register(SPA_FEATURE_EDONR,
      177 +            "org.illumos:edonr", "edonr",
      178 +            "Edon-R hash algorithm.", B_FALSE, B_FALSE, NULL);
 170  179  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX