From: Chuanwen W. <wc...@gm...> - 2008-09-17 03:29:24
|
On Thu, Sep 11, 2008 at 9:31 PM, Goswin von Brederlow <gos...@we...> wrote: > "Pedro Eugênio Rocha" <ped...@gm...> writes: > >> I have some doubts about how fuse execute its callbacks (get_attr, read_dir, >> etc.) after it daemonizes. If i just call fuse_main with the default >> parameters, just like the hello example on the fuse's page, the callbacks >> are executed sequentially, or each callback is executed on a different >> thread? Is there a way to configure it? >> >> Sorry for the dumb question, but i search o lot and didnt't find the >> anwser... >> >> Cheers, > > You can disable threading (-s) and then they will be done > sequentially. Otherwise they will be done concurrently as much as > possible. How much parallelism can be done depends on the actions as > they do need to lock parts (or sometimes all) of the fs tree. And as what I noticed in the output of fuse( with -d but not -s), the "write" operation callback was always executed sequentially. I mean only the "write" operation callback, and others may be parellel. Please fixed me if I'm wrong. -- wcw |