CHANGELOG for Developer Prerelease
Amit Singh <asingh <at> gmail.com>
2008-08-12 05:09:52 GMT
The current developer release of MacFUSE has numerous improvements and
new features. Please test those that matter to you and report if
something doesn't work. A preliminary CHANGELOG is reproduced below.
* Feature: New option `auto_cache`; when you enable this option,
MacFUSE will automatically purge the buffer cache and/or attributes of
files based on changes it detects in modification times. By default,
if MacFUSE detects a change in a file's size during getattr(), it will
purge that file's buffer cache. When auto_cache is enabled, MacFUSE
will additionally detect modification time changes during getattr()
and open(). Relevant knote messages are also generated. All this is
subject to the attribute timeout. (That is, up to one purge per
attribute timeout window.) As long as your file system's getattr()
returns up-to-date size and modification time information, this should
work as intended. For file systems that wish the kernel to keep up
with "remote" changes, this should obviate the need for explicit
purging through `fuse_purge_np()`.
* Feature: New user-space library function `fuse_purge_np()`; can be
used by a user-space file system daemon to purge a given file's buffer
cache, tell the kernel that the file's size has changed, invalidate
the file's in-kernel attributes cache, and generate an appropriate
kernel event (kevent) that can be received through `kqueue()`.
[*Experimental*]
* Feature: New user-space library function `fuse_knote_np()`; can be
used by a user-space file system daemon to generate arbitrary kernel
events (kevent) for a given file. [*Experimental*]
(Continue reading)