mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
rename P_global to P_#global
This commit is contained in:
parent
c4afaa05a4
commit
adb578238d
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.35 -
|
Version 2.02.35 -
|
||||||
=================================
|
=================================
|
||||||
|
Rename P_global to P_#global.
|
||||||
Don't attempt remote metadata backups of non-clustered VGs. (2.02.29)
|
Don't attempt remote metadata backups of non-clustered VGs. (2.02.29)
|
||||||
Don't store fid in VG metadata cache to avoid clvmd segfault. (2.02.34)
|
Don't store fid in VG metadata cache to avoid clvmd segfault. (2.02.34)
|
||||||
Update vgsplit tests to verify loosening of active LV restriction.
|
Update vgsplit tests to verify loosening of active LV restriction.
|
||||||
|
@ -118,8 +118,8 @@ int do_command(struct local_client *client, struct clvm_header *msg, int msglen,
|
|||||||
lockname = &args[2];
|
lockname = &args[2];
|
||||||
/* Check to see if the VG is in use by LVM1 */
|
/* Check to see if the VG is in use by LVM1 */
|
||||||
status = do_check_lvm1(lockname);
|
status = do_check_lvm1(lockname);
|
||||||
/* P_global causes a cache refresh */
|
/* P_#global causes a cache refresh */
|
||||||
if (strcmp(lockname, "P_global") == 0)
|
if (strcmp(lockname, "P_#global") == 0)
|
||||||
do_refresh_cache();
|
do_refresh_cache();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -390,7 +390,7 @@ int lock_resource(struct cmd_context *cmd, const char *resource, uint32_t flags)
|
|||||||
if (!*resource) /* FIXME Deprecated */
|
if (!*resource) /* FIXME Deprecated */
|
||||||
dm_snprintf(lockname, sizeof(lockname), "P_orphans");
|
dm_snprintf(lockname, sizeof(lockname), "P_orphans");
|
||||||
else if (*resource == '#')
|
else if (*resource == '#')
|
||||||
dm_snprintf(lockname, sizeof(lockname), "P_%s", resource + 1);
|
dm_snprintf(lockname, sizeof(lockname), "P_%s", resource);
|
||||||
else
|
else
|
||||||
dm_snprintf(lockname, sizeof(lockname), "V_%s",
|
dm_snprintf(lockname, sizeof(lockname), "V_%s",
|
||||||
resource);
|
resource);
|
||||||
|
Loading…
Reference in New Issue
Block a user