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 293927 Details for
Bug 250104
RHEL5 Kernel patches for blktap statistics
[?]
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]
Patch 2 for blktap statistics
linux-2.6.18-xen-blktap-stats-12334-2.patch (text/plain), 1.75 KB, created by
Chris Lalancette
on 2008-02-04 20:00:32 UTC
(
hide
)
Description:
Patch 2 for blktap statistics
Filename:
MIME Type:
Creator:
Chris Lalancette
Created:
2008-02-04 20:00:32 UTC
Size:
1.75 KB
patch
obsolete
>diff -urp linux-2.6.18.noarch.15402/include/xen/interface/io/blkif.h linux-2.6.18.noarch.12334/include/xen/interface/io/blkif.h >--- linux-2.6.18.noarch.15402/include/xen/interface/io/blkif.h 2008-02-04 11:18:10.000000000 -0500 >+++ linux-2.6.18.noarch.12334/include/xen/interface/io/blkif.h 2008-02-04 14:35:57.000000000 -0500 >@@ -29,8 +29,22 @@ > #endif > #define blkif_sector_t uint64_t > >-#define BLKIF_OP_READ 0 >-#define BLKIF_OP_WRITE 1 >+/* >+ * REQUEST CODES. >+ */ >+#define BLKIF_OP_READ 0 >+#define BLKIF_OP_WRITE 1 >+/* >+ * Recognised only if "feature-barrier" is present in backend xenbus info. >+ * The "feature_barrier" node contains a boolean indicating whether barrier >+ * requests are likely to succeed or fail. Either way, a barrier request >+ * may fail at any time with BLKIF_RSP_EOPNOTSUPP if it is unsupported by >+ * the underlying block-device hardware. The boolean simply indicates whether >+ * or not it is worthwhile for the frontend to attempt barrier requests. >+ * If a backend does not recognise BLKIF_OP_WRITE_BARRIER, it should *not* >+ * create the "feature-barrier" node! >+ */ >+#define BLKIF_OP_WRITE_BARRIER 2 > > /* > * Maximum scatter/gather segments per request. >@@ -63,8 +77,15 @@ struct blkif_response { > }; > typedef struct blkif_response blkif_response_t; > >-#define BLKIF_RSP_ERROR -1 /* non-specific 'error' */ >-#define BLKIF_RSP_OKAY 0 /* non-specific 'okay' */ >+/* >+ * STATUS RETURN CODES. >+ */ >+ /* Operation not supported (only happens on barrier writes). */ >+#define BLKIF_RSP_EOPNOTSUPP -2 >+ /* Operation failed for some unspecified reason (-EIO). */ >+#define BLKIF_RSP_ERROR -1 >+ /* Operation completed successfully. */ >+#define BLKIF_RSP_OKAY 0 > > /* > * Generate blkif ring structures and types.
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 250104
:
293926
|
293927
|
293928
|
293929
|
293930
|
293931
|
293932
|
293933
|
293934
|
312441
|
312442
|
312443
|
312444
|
312445
|
312446
|
312447