mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
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 <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tom Caputi <tcaputi@datto.com> Closes #7313
This commit is contained in:
committed by
Brian Behlendorf
parent
272b5d730f
commit
089fbf313c
@@ -150,6 +150,12 @@ enum dnode_dirtycontext {
|
||||
/* User/Group/Project dnode accounting */
|
||||
#define DNODE_FLAG_USEROBJUSED_ACCOUNTED (1 << 3)
|
||||
|
||||
/*
|
||||
* 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 AAD when the block
|
||||
* of dnodes is encrypted.
|
||||
*/
|
||||
#define DNODE_CRYPT_PORTABLE_FLAGS_MASK (DNODE_FLAG_SPILL_BLKPTR)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user