Date: Sat, 4 Oct 2014 17:20:19 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: FreeBSD Filesystems <freebsd-fs@freebsd.org> Subject: VFS_QUOTACTL() not implemented for ZFS Message-ID: <1692537569.57810384.1412457619725.JavaMail.root@uoguelph.ca>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1692537569.57810384.1412457619725.JavaMail.root>