NetBSD/lib/libperfuse
manu 575ae72270 Fix atime update
FUSE filesystems assume that SETATTR with atime is the result of utiimes()
being called. As a result, atime and mtime will be updated.  This happens
with MooseFS and glusterFS. atime is supposed to be updated by the
filesystem itself when it gets read operations.

We fix the problem in SETATTR operations by
1) do not create a mtime update when we have an atime update (and vice
   versa), just fill the fields to avoid the filesystem restting the
   missing field to Epoch, but do not pretend we want to update it.
2) If the change is limited to atime, iscard it, as updates should be
   done by READ operations
3) Kernel part of PUFFS has been fixed to make sure reads on empty file
   are sent to the filesystem:
   http://mail-index.netbsd.org/source-changes/2015/01/13/msg062364.html

Thanks to Tom Ivar Helbekkmo for reporting this issue.
2015-01-13 16:51:30 +00:00
..
Makefile Disable default build of debugging info. 2012-09-06 16:39:07 +00:00
debug.c - Fix same vnodes associated with multiple cookies 2012-07-21 05:49:42 +00:00
fuse.h FUSE fallocate support 2014-10-31 15:12:15 +00:00
libperfuse.3 Small typo in macro (Xd -> Xr). 2011-05-10 12:14:37 +00:00
ops.c Fix atime update 2015-01-13 16:51:30 +00:00
perfuse.c FUSE fallocate support 2014-10-31 15:12:15 +00:00
perfuse.h
perfuse_if.h - Fix same vnodes associated with multiple cookies 2012-07-21 05:49:42 +00:00
perfuse_priv.h FUSE fallocate support 2014-10-31 15:12:15 +00:00
shlib_version
subr.c - Make sure non root users cannot access system namespace attributes 2014-08-10 03:22:33 +00:00