Re: [fuse-devel] [PATCH v5] fuse: Add support for passthrough read/write

From
Andrew Karpow <hidden>
Date
2016-03-04 12:23:48
Also in
linux-fsdevel, lkml
Reply to
Nikhilesh Reddy, 2016-02-01
Hi!

Thanks for the passthrough patch, exactly what I was searching for.
I'am currently trying to port your code to a prehistoric RedHat 6 Kernel, but I wonder about some implementation details...
 
quoted hunk ↗ jump to hunk
+++ b/fs/fuse/passthrough.c
...
+void fuse_setup_passthrough(struct fuse_conn *fc, struct fuse_req *req)
..
+	daemon_fd = (int)open_out->passthrough_fd;
...
quoted hunk ↗ jump to hunk
+++ b/include/uapi/linux/fuse.h
...
quoted hunk ↗ jump to hunk
@@ -480,7 +481,7 @@ struct fuse_create_in {
 struct fuse_open_out {
 	uint64_t	fh;
 	uint32_t	open_flags;
-	uint32_t	padding;
+	int32_t         passthrough_fd;
 };
 
I don't get where the passthrough_fd struct member is ever set?

with best regards,

Andy
Thread (12 messages) 12 messages, 3 authors, last reply 2016-03-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help