NetBSD/usr.sbin/perfused
manu bcf6f2f32a == file close operations ==
- use PUFFS_KFLAG_WTCACHE to puffs_init so that all writes are
immediatly send to the filesystem, and we do not have anymore write
after inactive. As a consequence, we can close files at inactive
stage, and there is not any concern left with files opened at
create time. We also do not have anymore to open ourselves in readdir and
fsync.

- Fsync on close (inactive stage). That makes sure we will not need to
do these operations once the file is closed (FUSE want an open file).
short sircuit the request that come after the close, bu not fsinc'ing
closed files,

- Use PUFFS_KFLAG_IAONDEMAND to get less inactive calls

== Removed nodes ==
- more ENOENT retunred for operations on removed node (but there
are probably some still missing): getattr, ooen, setattr, fsync

- set PND_REMOVE before sending the UNLINK/RMDIR operations so that we avoid
races during UNLINK completion. Also set PND_REMOVED on node we overwirte
in rename

== Filehandle fixes ==
- queue open operation to avoid getting two fh for one file

- set FH in getattr, if the file is open

- Just requires a read FH for fsyncdir, as we always opendir in read
mode. Ok, this is misleading :-)

== Misc ==
- do not set FUSE_FATTR_ATIME_NOW in setattr, as we provide the time

- short circuit nilpotent operations in setattr

- add a filename diagnostic flag to dump file names
2010-09-23 16:02:34 +00:00
..
debug.c - Use SOCK_DGRAM instead of SOCK_STREAM, as the filesystem seems to 2010-09-15 01:51:43 +00:00
Makefile
msg.c - Add debug santity checks 2010-09-20 06:45:38 +00:00
perfused.8 Various fixes and improvements. 2010-08-27 18:12:51 +00:00
perfused.c == file close operations == 2010-09-23 16:02:34 +00:00
perfused.h - Use SOCK_DGRAM instead of SOCK_STREAM, as the filesystem seems to 2010-09-15 01:51:43 +00:00