OK it looks like with -w flag I can get a reliable indication of whether quota is enabled or not:
[root@f24s ~]# btrfs quota enable /mnt/0 [root@f24s ~]# btrfs quota rescan -w /mnt/0 quota rescan started [root@f24s ~]# btrfs quota disable /mnt/0 [root@f24s ~]# btrfs quota rescan -w /mnt/0 ERROR: quota rescan failed: Invalid argument So if you did not enable quota support, and aren't sure if it's enabled you can try 'btrfs quota rescan -w <mp>' but this might actually be a bad idea, a rescan could take a while if you're actually using quotas, I have no idea because I don't use them. Perhaps someone can point out an easier way to determine whether quotas are enabled? Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html