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 574879 Details for
Bug 809481
fence_scsi_test will reset error counter after creating reservation
[?]
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]
Increment error count when reservation fails.
fence_scsi_test-increment-error-count-when-reservation-fails.patch (text/plain), 913 bytes, created by
Ryan O'Hara
on 2012-04-03 14:24:00 UTC
(
hide
)
Description:
Increment error count when reservation fails.
Filename:
MIME Type:
Creator:
Ryan O'Hara
Created:
2012-04-03 14:24:00 UTC
Size:
913 bytes
patch
obsolete
>From 205b6399580d848823c7be6024c06067b1cc272a Mon Sep 17 00:00:00 2001 >From: Ryan O'Hara <rohara@redhat.com> >Date: Tue, 3 Apr 2012 09:13:07 -0500 >Subject: [PATCH] fence_scsi_test: increment error count when reservation fails > >If the do_action_on subroutine fails to create a reservation, the >error count should be incremented not set to zero. > >Resolves: rhbz#809481 > >Signed-off-by: Ryan O'Hara <rohara@redhat.com> >--- > fence/agents/scsi/fence_scsi_test.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/fence/agents/scsi/fence_scsi_test.pl b/fence/agents/scsi/fence_scsi_test.pl >index 5c2302c..c012a12 100755 >--- a/fence/agents/scsi/fence_scsi_test.pl >+++ b/fence/agents/scsi/fence_scsi_test.pl >@@ -44,7 +44,7 @@ sub do_action_on (\@$$) > > if (scalar (get_keys_reserve ($dev)) == 0) { > if (do_reserve ($dev, $node_key) != 0) { >- $err = 0; >+ $err++; > } > } > >-- >1.7.1 >
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 809481
: 574879