1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvcreate: support vg profile for error_on_full

This commit is contained in:
Zdenek Kabelac 2023-12-08 14:04:55 +01:00
parent 2135bbe558
commit a882878eba

View File

@ -756,7 +756,7 @@ static int _read_activation_params(struct cmd_context *cmd,
} else
lp->error_when_full =
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 */
lp->read_ahead = arg_uint_value(cmd, readahead_ARG,