Using the following script I'm seeing two problems with quotas in onnv-10/31.
1) The last mkfile of 200m is completing and thereby exceeding the quota
2) The performance of the 200m mkfile is very slow.
bash-3.00# ./sq
+ zpool destroy testpool
+ zpool create testpool c1t3d0
+ zfs set mountpoint=/testdir testpool
+ /usr/sbin/zfs set quota=500m testpool
+ /usr/sbin/mkfile 400m /testdir/file1
+ /usr/sbin/zfs snapshot testpool@testsnap
+ /usr/sbin/zfs destroy testpool@testsnap
+ /usr/sbin/mkfile 200m /testdir/file2
bash-3.00# zfs list
NAME USED AVAIL REFER MOUNTPOINT
testpool 600M 0 600M /testdir
bash-3.00# zfs get quota testpool
NAME PROPERTY VALUE SOURCE
testpool quota 500M local
bash-3.00#
This is present since the 1030 nightly onwards.