mirror of
git://sourceware.org/git/lvm2.git
synced 2025-09-21 09:44:19 +03:00
lvcreate: support vg profile for error_on_full
This commit is contained in:
@@ -756,7 +756,7 @@ static int _read_activation_params(struct cmd_context *cmd,
|
|||||||
} else
|
} else
|
||||||
lp->error_when_full =
|
lp->error_when_full =
|
||||||
seg_can_error_when_full(lp) &&
|
seg_can_error_when_full(lp) &&
|
||||||
find_config_tree_bool(cmd, activation_error_when_full_CFG, NULL);
|
find_config_tree_bool(cmd, activation_error_when_full_CFG, vg->profile);
|
||||||
|
|
||||||
/* Read ahead */
|
/* Read ahead */
|
||||||
lp->read_ahead = arg_uint_value(cmd, readahead_ARG,
|
lp->read_ahead = arg_uint_value(cmd, readahead_ARG,
|
||||||
|
Reference in New Issue
Block a user