Ok, it's committed.
So it adds a new /zfs-kstat directory full of zfs attributes, a little like the /proc directory.
For now all the attributes are read-only, but can be accessed by anyone.
Pass --no-kstat-mount argument to zfs-fuse if you don't want to see this directory.
The directory is created when needed and destroyed when the zfs-fuse daemon exits.
I also included a new
arcstat.pl script in the contrib directory which is a modified version of this same script available somewhere on the web to work with the /zfs-kstat directory instead of the SUN:: Solaris::Kstat module.
And finally you'll also find a unix directory inside with some kstats about tasks, but even if zfs-fuse creates them, they are not updated (it's new for me too !).
So the only interesting part is in /zfs-kstat/zfs
I guess tuning some parameters from this data will take quite some time. A 1st surprise is already the amount of hits in ARC. Normally the kernel cache should cache most of the data, and ARC should get almost nothing, and it's clearly not the case for now...
--
zfs-fuse git repository :
http://rainemu.swishparty.co.uk/cgi-bin/gitweb.cgi?p=zfs;a=summary