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 901912 Details for
Bug 1104381
RAID cache: Removing cache logical volume prints stray error message
[?]
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]
Possible patch to fix the problem
fix.patch (text/plain), 1017 bytes, created by
Jonathan Earl Brassow
on 2014-06-03 21:19:33 UTC
(
hide
)
Description:
Possible patch to fix the problem
Filename:
MIME Type:
Creator:
Jonathan Earl Brassow
Created:
2014-06-03 21:19:33 UTC
Size:
1017 bytes
patch
obsolete
>Index: lvm2/lib/metadata/lv_manip.c >=================================================================== >--- lvm2.orig/lib/metadata/lv_manip.c >+++ lvm2/lib/metadata/lv_manip.c >@@ -6338,7 +6338,25 @@ static struct logical_volume *_lv_create > if (lp->temporary) > lv->status |= LV_TEMPORARY; > >- if (lv_is_thin_volume(lv)) { >+ if (lv_is_cache_type(lv)) { >+ if (!lv_is_active(lv)) { >+ if (!activate_lv_excl(cmd, lv)) { >+ log_error("Failed to activate pool %s.", >+ lv->name); >+ goto deactivate_and_revert_new_lv; >+ } >+ } else { >+ if (!suspend_lv(cmd, lv)) { >+ log_error("Failed to suspend pool %s.", >+ lv->name); >+ goto deactivate_and_revert_new_lv; >+ } >+ if (!resume_lv(cmd, lv)) { >+ log_error("Failed to resume pool %s.", lv->name); >+ goto deactivate_and_revert_new_lv; >+ } >+ } >+ } else if (lv_is_thin_volume(lv)) { > /* For snapshot, suspend active thin origin first */ > if (org && lv_is_active(org) && lv_is_thin_volume(org)) { > if (!suspend_lv_origin(cmd, org)) {
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 1104381
: 901912