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 1454224 Details for
Bug 1594623
RFE: implement fuse-interrupt support in glusterfs
[?]
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]
fusedraft patch
fuse_interrupt.diff (text/plain), 1.28 KB, created by
Amar Tumballi
on 2018-06-25 03:14:25 UTC
(
hide
)
Description:
fusedraft patch
Filename:
MIME Type:
Creator:
Amar Tumballi
Created:
2018-06-25 03:14:25 UTC
Size:
1.28 KB
patch
obsolete
>diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c >index ed70f82f7..ababb849b 100644 >--- a/xlators/mount/fuse/src/fuse-bridge.c >+++ b/xlators/mount/fuse/src/fuse-bridge.c >@@ -2298,6 +2298,23 @@ fuse_create (xlator_t *this, fuse_in_header_t *finh, void *msg, > return; > } > >+static void >+fuse_interrupt (xlator_t *this, fuse_in_header_t *finh, void *msg, >+ struct iobuf *iobuf) >+{ >+ struct fuse_interrupt_in *in_int = msg; >+ >+ gf_log ("glusterfs-fuse", GF_LOG_ERROR, >+ "FUSE message unique %"PRIu64" opcode %d:" >+ " Recieved intterupt %"PRIu64"", >+ finh->unique, finh->opcode, in_int->unique); >+ >+ send_fuse_err (this, finh, EBUSY); >+ GF_FREE (finh); >+ >+ return; \ >+} >+ > void > fuse_open_resume (fuse_state_t *state) > { >@@ -5532,7 +5549,7 @@ static fuse_handler_t *fuse_std_ops[FUSE_OP_HIGH] = { > [FUSE_SETLKW] = fuse_setlk, > [FUSE_ACCESS] = fuse_access, > [FUSE_CREATE] = fuse_create, >- /* [FUSE_INTERRUPT] */ >+ [FUSE_INTERRUPT] = fuse_interrupt, > /* [FUSE_BMAP] */ > [FUSE_DESTROY] = fuse_destroy, > /* [FUSE_IOCTL] */
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 1594623
: 1454224