1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-11 03:33:14 +03:00

pool debugging

This commit is contained in:
Alasdair Kergon
2004-11-23 18:23:23 +00:00
parent 3ca0b37a3e
commit 16521a6feb
19 changed files with 87 additions and 32 deletions

View File

@@ -828,7 +828,7 @@ struct cmd_context *create_toolcontext(struct arg *the_args)
if (*cmd->sys_dir && !create_dir(cmd->sys_dir))
goto error;
if (!(cmd->libmem = pool_create(4 * 1024))) {
if (!(cmd->libmem = pool_create("library", 4 * 1024))) {
log_error("Library memory pool creation failed");
return 0;
}
@@ -859,7 +859,7 @@ struct cmd_context *create_toolcontext(struct arg *the_args)
if (!_init_filters(cmd))
goto error;
if (!(cmd->mem = pool_create(4 * 1024))) {
if (!(cmd->mem = pool_create("command", 4 * 1024))) {
log_error("Command memory pool creation failed");
return 0;
}