From: Xiangyong (S. O. <ou...@cs...> - 2012-04-16 17:30:48
|
Hi all, I let 8 processes perform concurrent pwrite() to an example FUSE-based filesystem (http://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/). In fuse_write() , I do a getpid() to show the current process id that conducts the write. I always see the SAME pid, regardless of how many user processes are writing concurrently. I'm under the impression that fuse library internally has multiple worker-threads that fetch requests from /dev/fuse. Therefore I'm expecting to see different pids in fuse_write(). Am I missing some flags to enable fuse internal multi-threads? I didn't pass any special command line arguments to fuse except for "-f". btw, I'm running 8-core RHEL machine, fuse 2.8.1, kernel 2.6.30.10. Thanks! --Shangyong |