Commit Graph

11 Commits

Author SHA1 Message Date
wiz
f4788d8f8e New sentence, new line. Remove trailing whitespace.
Bump PKGREVISION for previous.
2012-01-29 11:32:23 +00:00
manu
8fcbc70792 Improve FUSE trace facility 2012-01-29 06:22:01 +00:00
wiz
8da3566432 Improve markup, remove tailing whitespace. 2011-12-28 18:56:38 +00:00
manu
4fba06add5 Add a FUSE trace facility, with statistics collection. This should help
tracking bugs and performance issues
2011-12-28 17:33:52 +00:00
wiz
4486afd401 Sort sections. Remove trailing whitespace. 2011-12-16 12:51:43 +00:00
manu
a3a1865132 Document a bug when processes hang on uvn_fp2. FWIW, hung process exhibit
this stack backtrace:
sleepq_block
mtsleep
uvn_findpage
uvn_findpages
genfs_getpages
puffs_vnop_getpages
puffs_vnop_checkop
VOP_GETPAGES
uvn_get
uvm_fault_internal
trap
copyin
uiomove
ubc_uiomove
puffs_vnop_write
puffs_vnop_checkop
VOP_WRITE
vn_write
dofilewrite
sys_write
syscall
2011-12-16 10:57:43 +00:00
njoly
1199515b5b Fix prologue macros order. 2011-05-10 12:16:18 +00:00
wiz
cd9eb5b6d8 Various fixes and improvements. 2010-08-27 18:12:51 +00:00
manu
1326029781 - if perfused is not already started (cannot connect to /dev/fuse),
FUSE filesystems will attempt to start it on their own, and will
communicate using a socketpair

- do not advertise NULL file handle as being valid when sending themback to the FUSE filesystem.

- unmount if we cannot talk to the FUSE process anymore

- set calling process gid properly

- debug message cleanup
2010-08-27 09:58:17 +00:00
manu
516b1c9016 - open the file before doing fsync: glusterfs wants that.
- Automatically call fsync on close for files. If we just close, fsync
will come later and we will have to reopen

- Add a PND_DIRTY flag to keep track of files that really need a sync.
perfuse_node_fsync only calls the FUSE fsync method if there are data
to push.

- Add a PND_OPEN flag to keep track of open files. Checking non NULL
fh is not enough, as some filesystems will always set fh to 0.

- Add a sync diagnostic flag, to watch fsync and dirty flag activity.
Make the fh diagnostic flag more verbose

- Send the fh in setattr (it was hardcoded to 0)

I am now able to build libperfuse in a glusterfs mounted filesystem. Yeah!
2010-08-26 13:29:01 +00:00
manu
a18d4c5a69 perfused(8) creates a /dev/fuse socket and performs PUFFS to FUSE relaying.
This is still a work in progress.
2010-08-25 07:18:01 +00:00