Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 641533 Details for
Bug 816724
udev issues when running lvm regression tests
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Do not take global lock when not needed
0.patch (text/plain), 914 bytes, created by
Peter Rajnoha
on 2012-11-09 13:47:58 UTC
(
hide
)
Description:
Do not take global lock when not needed
Filename:
MIME Type:
Creator:
Peter Rajnoha
Created:
2012-11-09 13:47:58 UTC
Size:
914 bytes
patch
obsolete
> tools/pvscan.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/tools/pvscan.c b/tools/pvscan.c >index 3d5ddef..2b35293 100644 >--- a/tools/pvscan.c >+++ b/tools/pvscan.c >@@ -119,6 +119,18 @@ static int _pvscan_lvmetad(struct cmd_context *cmd, int argc, char **argv) > char *buf; > activation_handler handler = NULL; > >+ /* >+ * Return here immediately if lvmetad is not used. >+ * Also return if locking_type=3 (clustered) as we >+ * dont't support cluster + lvmetad yet. >+ * >+ * This is to avoid taking the global lock uselessly >+ * and to prevent hangs in clustered environment. >+ */ >+ if (find_config_tree_int(cmd, "global/locking_type", 1) == 3 || >+ !find_config_tree_int(cmd, "global/use_lvmetad", 0)) >+ return ret; >+ > if (arg_count(cmd, activate_ARG)) { > if (arg_uint_value(cmd, activate_ARG, CHANGE_AAY) != CHANGE_AAY) { > log_error("Only --activate ay allowed with pvscan.");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 816724
: 641533 |
676588
|
1121528