mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Drop the default chunk size for snapshots down to 8k
This commit is contained in:
parent
031079703f
commit
99b1e8f19f
@ -192,7 +192,7 @@ static int _read_params(struct lvcreate_params *lp, struct cmd_context *cmd,
|
|||||||
* Set the defaults.
|
* Set the defaults.
|
||||||
*/
|
*/
|
||||||
memset(lp, 0, sizeof(*lp));
|
memset(lp, 0, sizeof(*lp));
|
||||||
lp->chunk_size = 2 * arg_int_value(cmd, chunksize_ARG, 32);
|
lp->chunk_size = 2 * arg_int_value(cmd, chunksize_ARG, 8);
|
||||||
log_verbose("setting chunksize to %d sectors.", lp->chunk_size);
|
log_verbose("setting chunksize to %d sectors.", lp->chunk_size);
|
||||||
|
|
||||||
if (!_read_name_params(lp, cmd, &argc, &argv) ||
|
if (!_read_name_params(lp, cmd, &argc, &argv) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user