Clarify the use of the gmirror flag mask constants.
MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
695d254365
commit
792f0c3b09
@ -62,6 +62,8 @@
|
||||
#define G_MIRROR_DISK_FLAG_HARDCODED 0x0000000000000010ULL
|
||||
#define G_MIRROR_DISK_FLAG_BROKEN 0x0000000000000020ULL
|
||||
#define G_MIRROR_DISK_FLAG_CANDELETE 0x0000000000000040ULL
|
||||
|
||||
/* Per-disk flags which are recorded in on-disk metadata. */
|
||||
#define G_MIRROR_DISK_FLAG_MASK (G_MIRROR_DISK_FLAG_DIRTY | \
|
||||
G_MIRROR_DISK_FLAG_SYNCHRONIZING | \
|
||||
G_MIRROR_DISK_FLAG_FORCE_SYNC | \
|
||||
@ -70,6 +72,8 @@
|
||||
|
||||
#define G_MIRROR_DEVICE_FLAG_NOAUTOSYNC 0x0000000000000001ULL
|
||||
#define G_MIRROR_DEVICE_FLAG_NOFAILSYNC 0x0000000000000002ULL
|
||||
|
||||
/* Mirror flags which are recorded in on-disk metadata. */
|
||||
#define G_MIRROR_DEVICE_FLAG_MASK (G_MIRROR_DEVICE_FLAG_NOAUTOSYNC | \
|
||||
G_MIRROR_DEVICE_FLAG_NOFAILSYNC)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user