Print this page
4185 New hash algorithm support


 150 }
 151 
 152 void
 153 zpool_feature_init(void)
 154 {
 155         zfeature_register(SPA_FEATURE_ASYNC_DESTROY,
 156             "com.delphix:async_destroy", "async_destroy",
 157             "Destroy filesystems asynchronously.", B_TRUE, B_FALSE, NULL);
 158         zfeature_register(SPA_FEATURE_EMPTY_BPOBJ,
 159             "com.delphix:empty_bpobj", "empty_bpobj",
 160             "Snapshots use less space.", B_TRUE, B_FALSE, NULL);
 161         zfeature_register(SPA_FEATURE_LZ4_COMPRESS,
 162             "org.illumos:lz4_compress", "lz4_compress",
 163             "LZ4 compression algorithm support.", B_FALSE, B_FALSE, NULL);
 164         zfeature_register(SPA_FEATURE_MULTI_VDEV_CRASH_DUMP,
 165             "com.joyent:multi_vdev_crash_dump", "multi_vdev_crash_dump",
 166             "Crash dumps to multiple vdev pools.", B_FALSE, B_FALSE, NULL);
 167         zfeature_register(SPA_FEATURE_SPACEMAP_HISTOGRAM,
 168             "com.delphix:spacemap_histogram", "spacemap_histogram",
 169             "Spacemaps maintain space histograms.", B_TRUE, B_FALSE, NULL);









 170 }


 150 }
 151 
 152 void
 153 zpool_feature_init(void)
 154 {
 155         zfeature_register(SPA_FEATURE_ASYNC_DESTROY,
 156             "com.delphix:async_destroy", "async_destroy",
 157             "Destroy filesystems asynchronously.", B_TRUE, B_FALSE, NULL);
 158         zfeature_register(SPA_FEATURE_EMPTY_BPOBJ,
 159             "com.delphix:empty_bpobj", "empty_bpobj",
 160             "Snapshots use less space.", B_TRUE, B_FALSE, NULL);
 161         zfeature_register(SPA_FEATURE_LZ4_COMPRESS,
 162             "org.illumos:lz4_compress", "lz4_compress",
 163             "LZ4 compression algorithm support.", B_FALSE, B_FALSE, NULL);
 164         zfeature_register(SPA_FEATURE_MULTI_VDEV_CRASH_DUMP,
 165             "com.joyent:multi_vdev_crash_dump", "multi_vdev_crash_dump",
 166             "Crash dumps to multiple vdev pools.", B_FALSE, B_FALSE, NULL);
 167         zfeature_register(SPA_FEATURE_SPACEMAP_HISTOGRAM,
 168             "com.delphix:spacemap_histogram", "spacemap_histogram",
 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);
 179 }