There was a proposal on this mailing list a week or so ago that sparked some 
good discussion regarding setting feature flags at pool creation.  We discussed 
this proposal on the last OpenZFS call and while we all agreed it was a good 
idea, we felt the UI could use a little workshopping.

This proposal is simply a starting point for a discussion.

The proposal is to add an optional flag at zpool create time.  -o features=

which can be set to one of the following 4 settings:

all:  The default and the current behavior of zpool create.  This setting 
enables all features supported by the in use OpenZFS version.

compat: Enable async_destroy, empty_bpobj, filesystem_limits, lz4_compress, 
spacemap_histogram, extensible_dataset, bookmarks, enabled_txg, and hole_birth. 
This set of features is supported by FreeBSD/FreeNAS 9.3 (July of 2014), ZoL 
0.6.4 ( 0.6.5.6 was used in Ubuntu 16.04 LTS), and Illumos in the early to mid 
2014 era.

min: enable async_destroy, empty_bpobj, and lz4_compress.  I believe all 
available OpenZFS v5000 implementations support these 3 features, and certainly 
without at least async_destroy you can get pools very very very cranky. (This 
would be IllumOS and FreeBSD in the late 2013 range, I don't think there's an 
analog in the ZoL world that would be widely used, but I believe the ZoL work 
started with v5000 so it should work on the earliest of releases eg: 0.6.1 in 
early 2015)

none: enable no features at all.  Some masochists^H^H^H^H^H^H^H^H^Hpeople may 
want to manually enable a set of features.

-- 

Thanks,

Josh Paetzel

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T562a2f6ecf883736-Mc7d9f68fc4e13c24f6166151
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to