lkml.org 
[lkml]   [2016]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] FUSE: add the async option for the flush/release operation
On Wed, Aug 10, 2016 at 5:26 AM, Enke Chen <enkechen@cisco.com> wrote:
> Hi, Miklos:
>
> This patch adds the async option for the flush/release operation in FUSE.
>
> The async flush/release option allows a FUSE-based application to be terminated
> without being blocked in the flush/release operation even in the presence of
> complex external interactions. In addition, the async operation can be more
> efficient when a large number of fuse-based files is involved.
>
> ---
> Deadlock Example:
>
> Process A is a multi-threaded application that interacts with Process B,
> a FUSE-server.
>
>
> UNIX-domain socket
> App (A) ----------------------- FUSE-server (B)
> | |
> | |
> | |
> +-----------------------------------+
> open/flush/release

Why would the fuse server want to communicate with the app (using
other than the filesystem)?

Thanks,
Miklos

\
 
 \ /
  Last update: 2016-08-10 22:41    [W:0.068 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site