Re: [BUG?] Btrfs quota: overwritten space is counted twice

2013-04-06 Thread Arne Jansen
On 04/05/13 23:03, Koen De Wit wrote: When data in a file is overwritten, starting somewhere in the middle of the file, the overwritten space is counted twice against the space usage numbers. Is this a bug, or did I something wrong? Neither. This is a result of how btrfs allocates and

[BUG?] Btrfs quota: overwritten space is counted twice

2013-04-05 Thread Koen De Wit
When data in a file is overwritten, starting somewhere in the middle of the file, the overwritten space is counted twice against the space usage numbers. Is this a bug, or did I something wrong? This is what I did: I create a subvolume and limit it to 4 MB, and create a 1000 KB file in the

Re: [BUG] btrfs quota

2013-03-31 Thread Arne Jansen
Hello Wang, On 03/31/13 03:44, Wang Shilong wrote: Hello Arne, Jan, When i run stresstest with quota enabled, i hit a panic where btrfs_find_all_roots() is called. Would you please double check it. On what kernel version do you hit this (git commit id preferred)? Can you send us the

Re: [BUG] btrfs quota

2013-03-31 Thread Wang Shilong
Hello Arne, Hello Wang, On 03/31/13 03:44, Wang Shilong wrote: Hello Arne, Jan, When i run stresstest with quota enabled, i hit a panic where btrfs_find_all_roots() is called. Would you please double check it. On what kernel version do you hit this (git commit id preferred)? Can

Re: [BUG] btrfs quota

2013-03-31 Thread Wang Shilong
Hello Arne, However, I remember that i have hit this panic in several kernel version. And i will double check it tomorrow when i am in the work.. If possible, i will send you the message from dmesg. Thanks, Wang Hello Wang, On 03/31/13 03:44, Wang Shilong wrote: Hello Arne, Jan, When i