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 597726 Details for
Bug 826704
virsh detach-disk cleans up all sanlock resources for the domain pid instead of specified disk device only
[?]
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]
Only release specific sanlock resource when hot-dettaching a disk
libvirt-sanlock_release.patch (text/plain), 939 bytes, created by
Frido Roose
on 2012-07-12 07:54:40 UTC
(
hide
)
Description:
Only release specific sanlock resource when hot-dettaching a disk
Filename:
MIME Type:
Creator:
Frido Roose
Created:
2012-07-12 07:54:40 UTC
Size:
939 bytes
patch
obsolete
>diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sanlock.c >index 26bdde8..61c4e14 100644 >--- a/src/locking/lock_driver_sanlock.c >+++ b/src/locking/lock_driver_sanlock.c >@@ -819,7 +819,7 @@ static int virLockManagerSanlockRelease(virLockManagerPtr lock, > unsigned int flags) > { > virLockManagerSanlockPrivatePtr priv = lock->privateData; >- int res_count; >+ int res_count=priv->res_count; > int rv; > > virCheckFlags(0, -1); >@@ -839,7 +839,7 @@ static int virLockManagerSanlockRelease(virLockManagerPtr lock, > VIR_FREE(*state); > } > >- if ((rv = sanlock_release(-1, priv->vm_pid, SANLK_REL_ALL, 0, NULL)) < 0) { >+ if ((rv = sanlock_release(-1, priv->vm_pid, 0, res_count, priv->res_args)) < 0) { > if (rv <= -200) > virLockError(VIR_ERR_INTERNAL_ERROR, > _("Failed to release lock: error %d"), rv);
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 826704
: 597726