aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/dmu_objset.h
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2018-03-20 14:55:21 -0400
committerBrian Behlendorf <[email protected]>2018-03-20 11:55:21 -0700
commit089fbf313c59b178c11614b2aed78efc46d60499 (patch)
treefea6b47775ee1b1fbfcddd8ddc4783542b5dd190 /include/sys/dmu_objset.h
parent272b5d730f9ddd1db7cd7511da7bba75d6bd2450 (diff)
Add comments for portable dnode / objset flags
This patch adds some comments describing the purpose of "portable" dnode and objset flags so that it is clear when new flags should be added to the repective flag masks. This patch includes no functional changes. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #7313
Diffstat (limited to 'include/sys/dmu_objset.h')
-rw-r--r--include/sys/dmu_objset.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sys/dmu_objset.h b/include/sys/dmu_objset.h
index df9b1a73a..0060efd51 100644
--- a/include/sys/dmu_objset.h
+++ b/include/sys/dmu_objset.h
@@ -62,7 +62,13 @@ struct dmu_tx;
#define OBJSET_FLAG_USEROBJACCOUNTING_COMPLETE (1ULL << 1)
#define OBJSET_FLAG_PROJECTQUOTA_COMPLETE (1ULL << 2)
-/* all flags are currently non-portable */
+/*
+ * This mask defines the set of flags which are "portable", meaning
+ * that they can be preserved when doing a raw encrypted zfs send.
+ * Flags included in this mask will be protected by os_portable_mac
+ * when the block of dnodes is encrypted. No portable flags currently
+ * exist.
+ */
#define OBJSET_CRYPT_PORTABLE_FLAGS_MASK (0)
typedef struct objset_phys {