Enable 0.7.x features per default

This commit is contained in:
Faruk Kasumovic 2018-08-06 14:21:34 +02:00
parent fd4a79d895
commit 21c2f90b27
1 changed files with 8 additions and 0 deletions

View File

@ -913,6 +913,14 @@ func PoolCreate(name string, vdev VDevTree, features map[string]string,
features["filesystem_limits"] = FENABLED features["filesystem_limits"] = FENABLED
features["large_blocks"] = FENABLED features["large_blocks"] = FENABLED
// Enable 0.7.x features per default
features["multi_vdev_crash_dump"] = FENABLED
features["large_dnode"] = FENABLED
features["sha512"] = FENABLED
features["skein"] = FENABLED
features["edonr"] = FENABLED
features["userobj_accounting"] = FENABLED
// convert properties // convert properties
cprops := toCPoolProperties(props) cprops := toCPoolProperties(props)
if cprops != nil { if cprops != nil {