diff options
Diffstat (limited to 'daemons/clvmd/clvmd-command.c')
-rw-r--r-- | daemons/clvmd/clvmd-command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemons/clvmd/clvmd-command.c b/daemons/clvmd/clvmd-command.c index 2d9e21a1..b47f5273 100644 --- a/daemons/clvmd/clvmd-command.c +++ b/daemons/clvmd/clvmd-command.c @@ -121,6 +121,8 @@ int do_command(struct local_client *client, struct clvm_header *msg, int msglen, /* P_#global causes a cache refresh */ if (strcmp(lockname, "P_#global") == 0) do_refresh_cache(); + else if (strncmp(lockname, "P_", 2) == 0) + lvmcache_drop_metadata(lockname + 2); break; |