diff options
author | Serapheim Dimitropoulos <serapheim@delphix.com> | 2017-08-04 09:30:49 -0700 |
---|---|---|
committer | Prakash Surya <prakash.surya@delphix.com> | 2018-04-02 09:16:05 -0700 |
commit | 17f11284b49b98353b5119463254074fd9bc0a28 (patch) | |
tree | 7efffb8c98a425199065e78b99ba894b9127795f /usr/src/common/zfs/zfeature_common.c | |
parent | 1c10ae76c0cb31326c320e7cef1d3f24a1f47125 (diff) | |
download | illumos-joyent-17f11284b49b98353b5119463254074fd9bc0a28.tar.gz |
9238 ZFS Spacemap Encoding V2
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <gwilson@zfsmail.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/common/zfs/zfeature_common.c')
-rw-r--r-- | usr/src/common/zfs/zfeature_common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/common/zfs/zfeature_common.c b/usr/src/common/zfs/zfeature_common.c index 74ed42b97d..1d56bb6e3f 100644 --- a/usr/src/common/zfs/zfeature_common.c +++ b/usr/src/common/zfs/zfeature_common.c @@ -245,6 +245,12 @@ zpool_feature_init(void) "Pool state can be checkpointed, allowing rewind later.", ZFEATURE_FLAG_READONLY_COMPAT, NULL); + zfeature_register(SPA_FEATURE_SPACEMAP_V2, + "com.delphix:spacemap_v2", "spacemap_v2", + "Space maps representing large segments are more efficient.", + ZFEATURE_FLAG_READONLY_COMPAT | ZFEATURE_FLAG_ACTIVATE_ON_ENABLE, + NULL); + static const spa_feature_t large_blocks_deps[] = { SPA_FEATURE_EXTENSIBLE_DATASET, SPA_FEATURE_NONE |