1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-15 19:33:17 +03:00

Currently if clvmd is running and user issues vgscan,

the device cache file is dumped both in vgscan and clvmd process.

Unfortunately, clvmd calls lvmcache_label_scan,
it properly destroys persistent filter, but during
persistent_filter_dump it merges old cache content back!

This causes that change in filters is not properly propagated
into device cache after vgscan on cluster.
(Only new devices are added.)

https://bugzilla.redhat.com/show_bug.cgi?id=591861
This commit is contained in:
Milan Broz
2010-05-13 13:04:03 +00:00
parent 8c998ebbed
commit 5ee39f1a1d
5 changed files with 6 additions and 5 deletions

View File

@@ -1341,7 +1341,7 @@ int refresh_toolcontext(struct cmd_context *cmd)
void destroy_toolcontext(struct cmd_context *cmd)
{
if (cmd->dump_filter)
persistent_filter_dump(cmd->filter);
persistent_filter_dump(cmd->filter, 1);
archive_exit(cmd);
backup_exit(cmd);