mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Name changes
typo zeroeing->zeroing add size low_water_mark->low_water_mark_size so it's more obvious its sector related variable.
This commit is contained in:
parent
c0b9c64a77
commit
460c599143
@ -542,8 +542,8 @@ int dm_tree_node_add_thin_pool_target(struct dm_tree_node *node,
|
||||
const char *pool_uuid,
|
||||
const char *metadata_uuid,
|
||||
uint32_t data_block_size,
|
||||
uint64_t low_water_mark,
|
||||
unsigned skip_block_zeroeing); /* Maybe separate _set_ call ? */
|
||||
uint64_t low_water_mark_size,
|
||||
unsigned skip_block_zeroing);
|
||||
|
||||
int dm_tree_node_add_thin_target(struct dm_tree_node *node,
|
||||
uint64_t size,
|
||||
|
@ -169,9 +169,9 @@ struct load_segment {
|
||||
|
||||
struct dm_tree_node *metadata; /* Thin_pool */
|
||||
struct dm_tree_node *pool; /* Thin_pool, Thin */
|
||||
uint64_t low_water_mark; /* Thin_pool */
|
||||
uint64_t low_water_mark_size; /* Thin_pool */
|
||||
uint32_t data_block_size; /* Thin_pool */
|
||||
unsigned skip_block_zeroeing; /* Thin_pool */
|
||||
unsigned skip_block_zeroing; /* Thin_pool */
|
||||
uint32_t device_id; /* Thin */
|
||||
|
||||
};
|
||||
@ -1978,8 +1978,8 @@ static int _emit_segment_line(struct dm_task *dmt, uint32_t major,
|
||||
if (!_build_dev_string(pool, sizeof(pool), seg->pool))
|
||||
return_0;
|
||||
EMIT_PARAMS(pos, "%s %s %d %" PRIu64 " %s", metadata, pool,
|
||||
seg->data_block_size, seg->low_water_mark,
|
||||
seg->skip_block_zeroeing ? "1 skip_block_zeroing" : "");
|
||||
seg->data_block_size, seg->low_water_mark_size,
|
||||
seg->skip_block_zeroing ? "1 skip_block_zeroing" : "");
|
||||
break;
|
||||
case SEG_THIN:
|
||||
if (!_build_dev_string(pool, sizeof(pool), seg->pool))
|
||||
@ -2715,8 +2715,8 @@ int dm_tree_node_add_thin_pool_target(struct dm_tree_node *node,
|
||||
const char *pool_uuid,
|
||||
const char *metadata_uuid,
|
||||
uint32_t data_block_size,
|
||||
uint64_t low_water_mark,
|
||||
unsigned skip_block_zeroeing)
|
||||
uint64_t low_water_mark_size,
|
||||
unsigned skip_block_zeroing)
|
||||
{
|
||||
struct load_segment *seg;
|
||||
|
||||
@ -2754,9 +2754,9 @@ int dm_tree_node_add_thin_pool_target(struct dm_tree_node *node,
|
||||
return_0;
|
||||
|
||||
node->props.thin_pool_transaction_id = transaction_id; // compare on resume
|
||||
seg->low_water_mark = low_water_mark;
|
||||
seg->low_water_mark_size = low_water_mark_size;
|
||||
seg->data_block_size = data_block_size;
|
||||
seg->skip_block_zeroeing = skip_block_zeroeing;
|
||||
seg->skip_block_zeroing = skip_block_zeroing;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user