Print this page
Integrated Edon-R hash function.


 143         feature->fi_guid = guid;
 144         feature->fi_uname = name;
 145         feature->fi_desc = desc;
 146         feature->fi_can_readonly = readonly;
 147         feature->fi_mos = mos;
 148         feature->fi_depends = deps;
 149 }
 150 
 151 void
 152 zpool_feature_init(void)
 153 {
 154         zfeature_register(SPA_FEATURE_ASYNC_DESTROY,
 155             "com.delphix:async_destroy", "async_destroy",
 156             "Destroy filesystems asynchronously.", B_TRUE, B_FALSE, NULL);
 157         zfeature_register(SPA_FEATURE_EMPTY_BPOBJ,
 158             "com.delphix:empty_bpobj", "empty_bpobj",
 159             "Snapshots use less space.", B_TRUE, B_FALSE, NULL);
 160         zfeature_register(SPA_FEATURE_LZ4_COMPRESS,
 161             "org.illumos:lz4_compress", "lz4_compress",
 162             "LZ4 compression algorithm support.", B_FALSE, B_FALSE, NULL);




 163 }


 143         feature->fi_guid = guid;
 144         feature->fi_uname = name;
 145         feature->fi_desc = desc;
 146         feature->fi_can_readonly = readonly;
 147         feature->fi_mos = mos;
 148         feature->fi_depends = deps;
 149 }
 150 
 151 void
 152 zpool_feature_init(void)
 153 {
 154         zfeature_register(SPA_FEATURE_ASYNC_DESTROY,
 155             "com.delphix:async_destroy", "async_destroy",
 156             "Destroy filesystems asynchronously.", B_TRUE, B_FALSE, NULL);
 157         zfeature_register(SPA_FEATURE_EMPTY_BPOBJ,
 158             "com.delphix:empty_bpobj", "empty_bpobj",
 159             "Snapshots use less space.", B_TRUE, B_FALSE, NULL);
 160         zfeature_register(SPA_FEATURE_LZ4_COMPRESS,
 161             "org.illumos:lz4_compress", "lz4_compress",
 162             "LZ4 compression algorithm support.", B_FALSE, B_FALSE, NULL);
 163         zfeature_register(SPA_FEATURE_EDONR_CKSUM,
 164             "org.illumos:edonr_cksum", "edonr_cksum",
 165             "Edon-R-512/256 checksum algorithm support.", B_FALSE, B_FALSE,
 166             NULL);
 167 }