Re: qgroup destroy / assign

2014-07-07 Thread Kevin Brandstatter
from what I can tell, only a qgroup to another qgroup. -Kevin On 07/06/2014 08:57 PM, Wang Shilong wrote: Hi Kevin, On 07/05/2014 05:10 AM, Kevin Brandstatter wrote: how are qgroups accounted for? Are they specifially tied to one subvolume on creation? Qgroup implementation is aslo a little

btrfs_qgroup_create unused parameter

2014-07-04 Thread Kevin Brandstatter
|The code is pasted below for convenience of reference, but in the function to create a qgruop, it taks a 4th parameter (char * name). I assume this is the name of the path to limit, however, i don't see where its used anywhere in the function. -Kevin Brandstatter int btrfs_create_qgroup

qgroup destroy / assign

2014-07-04 Thread Kevin Brandstatter
that a sub create also creates a qgroup with the same id as the subvol, it would seem that the qgroup is tied to the subvol via this shared id. -Kevin Brandstatter -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

[PATCH] btrfs: Remove unused parameter name from btrfs_qgroup_create

2014-07-04 Thread Kevin Brandstatter
in btrfs_qgruop_create a fourth parameter name exists. however this parameter is not used anywhere in the function the only other place this function is called is ioctl and the call passes NULL as the name paremeter which would seem to indicate its lack of necessity. Signed-off-by: Kevin

Quota Ignored On write

2014-07-03 Thread Kevin Brandstatter
, 5.91909 s, 259 MB/s thats a full half gig over the quota limit. I noticed some changes to the quota accounting in the logs, what changed that could cause this? -Kevin Brandstatter -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: Quota Ignored On write

2014-07-03 Thread Kevin Brandstatter
3.15.3 via arch/ and from linux-git -Kevin On 07/03/2014 09:21 PM, Satoru Takeuchi wrote: Hi Kevin, (2014/07/04 11:13), Kevin Brandstatter wrote: basing of the latest for-linus branch i found i can write way more than the quota btrfs quota enable btrfs subvolume create test btrfs qgruop

Re: Quota Ignored On write

2014-07-03 Thread Kevin Brandstatter
Takeuchi wrote: Hi Kevin, (2014/07/04 11:13), Kevin Brandstatter wrote: basing of the latest for-linus branch i found i can write way more than the quota btrfs quota enable btrfs subvolume create test btrfs qgruop limit 1G test dd if=/dev/zero of=test/file bs=1024 count=150 output

df hangs / VirtualBox unable to start

2014-06-25 Thread Kevin Brandstatter
me know what other information I can provide to figure out the cause. -Kevin Brandstatter -- 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

[PATCH] handle start_unlink_transaction the same for an exceded quota , limit as an out of space error.

2014-06-23 Thread Kevin Brandstatter
) == -ENOSPC || PTR_ERR(trans) == -EDQUOT) { u64 num_bytes = btrfs_calc_trans_metadata_size(root, 5); . trans = btrfs_start_transaction(root, 0); --. 2.0.0 On 06/22/2014 08:53 PM, Duncan wrote: Kevin Brandstatter posted on Sun, 22 Jun 2014 12:56:30 -0500 as excerpted: One thing i note

Re: Removing file = quota exceded

2014-06-23 Thread Kevin Brandstatter
On 06/22/2014 11:38 AM, Josef Bacik wrote: On 06/21/2014 06:16 PM, Kevin Brandstatter wrote: so ive come accross the issue of being unable to remove a file when a subvolume quota is reached. This can be resolved by truncating the file first, or removing the quota temporarily. However

Re: Removing file = quota exceded

2014-06-22 Thread Kevin Brandstatter
: On 06/21/2014 06:16 PM, Kevin Brandstatter wrote: so ive come accross the issue of being unable to remove a file when a subvolume quota is reached. This can be resolved by truncating the file first, or removing the quota temporarily. However, it should be reasonable that you should alwasy be able

Removing file = quota exceded

2014-06-21 Thread Kevin Brandstatter
of a file even when the subvol quota has been reached. I'm hoping one of the current developers may be able to assist me in where to focus my efforts, as I am still unable to follow exactly where a remove operation would check the quota limitations. Any help is appreciated. -Kevin Brandstatter