From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: in-reply-to: <56AFAA5B.3000006@codeaurora.org> to: "Nikhilesh Reddy" from: "Andrew Karpow" message-id: <3ee-56d97e80-3b-4a1d2580@40597794> subject: =?utf-8?q?Re=3A?==?utf-8?q?_=5Bfuse-devel=5D?==?utf-8?q?_=5BPATCH?= =?utf-8?q?_v5=5D?==?utf-8?q?_fuse=3A?= Add support for passthrough =?utf-8?q?read=2Fwrite?= date: Fri, 04 Mar 2016 13:23:48 +0100 MIME-Version: 1.0 content-type: text/plain; charset="utf-8" cc: torvalds@linux-foundation.org, "Miklos Szeredi" , "fuse-devel" , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, gregkh@linuxfoundation.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, "Richard Weinberger" , "Theodore Tso" , jack@suse.cz, "Antonio SJ Musumeci" , sven.utcke@gmx.de, "Nikolaus Rath" , "Jann Horn" , "Mike Shal" content-transfer-encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: 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