Sync DMU_BACKUP_FEATURE_* flags

Flag 20 was used in OpenZFS as DMU_BACKUP_FEATURE_RESUMING.  The
DMU_BACKUP_FEATURE_LARGE_DNODE flag must be shifted to 21 and
then reserved in the upstream OpenZFS implementation.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Closes #4795
This commit is contained in:
Brian Behlendorf 2016-06-24 14:50:20 -07:00
parent 50c957f702
commit 669cf0ab29
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ typedef enum drr_headertype {
#define DMU_BACKUP_FEATURE_EMBED_DATA_LZ4 (1<<17)
/* flag #18 is reserved for a Delphix feature */
#define DMU_BACKUP_FEATURE_LARGE_BLOCKS (1<<19)
#define DMU_BACKUP_FEATURE_LARGE_DNODE (1<<20)
/* flag #20 is reserved for resumable streams */
#define DMU_BACKUP_FEATURE_LARGE_DNODE (1<<21)
/*
* Mask of all supported backup features