Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1350191

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

From "Andrew Karpow" <andy@ndyk.de>
Newsgroups linux.kernel
Subject Re: [fuse-devel] [PATCH v5] fuse: Add support for passthrough read/write
Date 2016-03-04 13:40 +0100
Message-ID <r8Xbs-6Ll-5@gated-at.bofh.it> (permalink)
References <qXrRE-73c-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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...
 
> +++ b/fs/fuse/passthrough.c
...
> +void fuse_setup_passthrough(struct fuse_conn *fc, struct fuse_req *req)
..
> +	daemon_fd = (int)open_out->passthrough_fd;
...

> +++ b/include/uapi/linux/fuse.h
...
> @@ -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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [fuse-devel] [PATCH v5] fuse: Add support for passthrough   read/write "Andrew Karpow" <andy@ndyk.de> - 2016-03-04 13:40 +0100

csiph-web