Hi Lev,

On 24.01.2013 10:39, Lev Vainblat wrote:
> I executed the following simple sequence of commands:
> 
> # mount /dev/sda /mnt/btrfs
> # btrfs quota enable /mnt/btrfs/
> # btrfs subvolume create /mnt/btrfs/SV
> Create subvolume '/mnt/btrfs/SV'
> # btrfs qgroup limit 1m /mnt/btrfs/SV
> # dd if=/dev/zero of=/mnt/btrfs/SV/file bs=64x1024
> dd: writing `/mnt/btrfs/SV/file': Disk quota exceeded
> 16+0 records in
> 15+0 records out
> 983040 bytes (983 kB) copied, 0.00192474 s, 511 MB/s
> # rm /mnt/btrfs/SV/file

Thanks for the simple reproducer.

Although you probably have noticed through the cc, I should mention in
case someone digs this thread out of an archive: I sent a patch that
should fix your problem some hours ago, subject "Btrfs: fix EDQUOT
handling in btrfs_delalloc_reserve_metadata". Feel free to test and
report back :-)

-Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to