VFS_QUOTACTL() not implemented for ZFS
Rick Macklem
rmacklem at uoguelph.ca
Sat Oct 4 21:20:28 UTC 2014
Hi,
One of the changes in r272467 is enabling support for the
NFSv4 quota attributes by default. (Prior to r272467, they
were only enabled when a kernel was built with "options QUOTA".)
araujo@ noted that this was because quotas are enabled by
default for ZFS.
Not being a ZFS guy, I took a look and it appears that
VFS_QUOTACTL() isn't implemented for ZFS.
This brings me to the question of what should NFSv4 do?
Is there a way for the NFSv4 server to acquire/set quotas
for ZFS? Or put another way, can zfs_quotactl() be implemented?
If not, I suspect that NFSv4 shouldn't support quota attributes
for ZFS volumes. I guess the NFSv4 server can determine this by
seeing if VFS_QUOTACTL() returns EOPNOTSUPP.
So, does anyone have thoughts on how NFSv4 should handle ZFS quotas?
Thanks in advance for any comments, rick
More information about the freebsd-fs
mailing list