2
I'm studying Linux FUSE.
Now I understand overall FUSE architecture and what is libfuse, /dev/fuse device file. But I can't find detail information about process communication between application process and FUSE filesystem daemon process. So I analysis fuse code.
It looks like fuse uses a wait queue and file to communicate between two processes. The wait queue is used for sending a signal. a file is used for send/receive request contents. Is that right??
If my analysis is right, why does fuse use a file? Why not use some other IPC? File looks slower than other IPC mechanisms...
My question is not IPC in user level. Kernel - userspace interface section in https://www.kernel.org/doc/Documentation/filesystems/fuse.txt, there is a example rm application and Fuse file system daemon. Two process communicates by using request_send(), request_receive() function. so I analyzed those functions. I want these functions how works. thanks.
Why would a file be used? File descriptors are used for many things, including pipes and network sockets and whatnot. – Daniel B – 2017-08-23T10:55:47.777