summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/constants.h')
-rw-r--r--drivers/md/dm-vdo/constants.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/drivers/md/dm-vdo/constants.h b/drivers/md/dm-vdo/constants.h
index 24237bc29f87..a8c4d6e24b38 100644
--- a/drivers/md/dm-vdo/constants.h
+++ b/drivers/md/dm-vdo/constants.h
@@ -17,10 +17,10 @@ enum {
*/
VDO_BIO_ROTATION_INTERVAL_LIMIT = 1024,
- /** The number of entries on a block map page */
+ /* The number of entries on a block map page */
VDO_BLOCK_MAP_ENTRIES_PER_PAGE = 812,
- /** The origin of the flat portion of the block map */
+ /* The origin of the flat portion of the block map */
VDO_BLOCK_MAP_FLAT_PAGE_ORIGIN = 1,
/*
@@ -29,22 +29,22 @@ enum {
*/
VDO_BLOCK_MAP_TREE_HEIGHT = 5,
- /** The default number of bio submission queues. */
+ /* The default number of bio submission queues. */
DEFAULT_VDO_BIO_SUBMIT_QUEUE_COUNT = 4,
- /** The number of contiguous PBNs to be submitted to a single bio queue. */
+ /* The number of contiguous PBNs to be submitted to a single bio queue. */
DEFAULT_VDO_BIO_SUBMIT_QUEUE_ROTATE_INTERVAL = 64,
- /** The number of trees in the arboreal block map */
+ /* The number of trees in the arboreal block map */
DEFAULT_VDO_BLOCK_MAP_TREE_ROOT_COUNT = 60,
- /** The default size of the recovery journal, in blocks */
+ /* The default size of the recovery journal, in blocks */
DEFAULT_VDO_RECOVERY_JOURNAL_SIZE = 32 * 1024,
- /** The default size of each slab journal, in blocks */
+ /* The default size of each slab journal, in blocks */
DEFAULT_VDO_SLAB_JOURNAL_SIZE = 224,
- /** Unit test minimum */
+ /* Unit test minimum */
MINIMUM_VDO_SLAB_JOURNAL_BLOCKS = 2,
/*
@@ -54,16 +54,16 @@ enum {
*/
VDO_LOCK_MAP_CAPACITY = 10000,
- /** The maximum number of logical zones */
+ /* The maximum number of logical zones */
MAX_VDO_LOGICAL_ZONES = 60,
- /** The maximum number of physical zones */
+ /* The maximum number of physical zones */
MAX_VDO_PHYSICAL_ZONES = 16,
- /** The base-2 logarithm of the maximum blocks in one slab */
+ /* The base-2 logarithm of the maximum blocks in one slab */
MAX_VDO_SLAB_BITS = 23,
- /** The maximum number of slabs the slab depot supports */
+ /* The maximum number of slabs the slab depot supports */
MAX_VDO_SLABS = 8192,
/*
@@ -71,25 +71,25 @@ enum {
*/
MAXIMUM_SIMULTANEOUS_VDO_BLOCK_MAP_RESTORATION_READS = 1024,
- /** The maximum number of entries in the slab summary */
+ /* The maximum number of entries in the slab summary */
MAXIMUM_VDO_SLAB_SUMMARY_ENTRIES = MAX_VDO_SLABS * MAX_VDO_PHYSICAL_ZONES,
- /** The maximum number of total threads in a VDO thread configuration. */
+ /* The maximum number of total threads in a VDO thread configuration. */
MAXIMUM_VDO_THREADS = 100,
- /** The maximum number of VIOs in the system at once */
+ /* The maximum number of VIOs in the system at once */
MAXIMUM_VDO_USER_VIOS = 2048,
- /** The only physical block size supported by VDO */
+ /* The only physical block size supported by VDO */
VDO_BLOCK_SIZE = 4096,
- /** The number of sectors per block */
+ /* The number of sectors per block */
VDO_SECTORS_PER_BLOCK = (VDO_BLOCK_SIZE >> SECTOR_SHIFT),
- /** The size of a sector that will not be torn */
+ /* The size of a sector that will not be torn */
VDO_SECTOR_SIZE = 512,
- /** The physical block number reserved for storing the zero block */
+ /* The physical block number reserved for storing the zero block */
VDO_ZERO_BLOCK = 0,
};