[PATCH v4] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-22 Thread Fan Chengniang
add --raw, --si, --iec, --kbytes, --mbytes, --gbytes, --tbytes options make columns which show sizes align to right. Others aligned to left. example: qgroupid rfer excl max_rfer max_excl parent child -- - 0/5 37.90MiB

replace seed/sprout hangs (regression ?)

2015-01-22 Thread Anand Jain
The following test case hangs as of now, but as I remember Fujitsu had sent a patch to fix this, a long time back. Can't find now, any idea. ? Test case: add a spout device replace seed / sprout device hangs at: (btrfs_reada_wait+0x4d/0xb0) Thanks, Anand -- To unsubscribe from

Re: replace seed/sprout hangs (regression ?)

2015-01-22 Thread Filipe David Manana
On Thu, Jan 22, 2015 at 10:03 AM, Anand Jain anand.j...@oracle.com wrote: The following test case hangs as of now, but as I remember Fujitsu had sent a patch to fix this, a long time back. Can't find now, any idea. ? Test case: add a spout device replace seed / sprout device

Re: [PATCH 3/3] btrfs: qgroup: destroy related qgroup when removing subvolume if needed.

2015-01-22 Thread Dongsheng Yang
On 01/22/2015 02:16 PM, Wang Shilong wrote: Hello, When removing a subvol, if the related qgroup has no child qgroup, we should destroy it at the same time. Also remove the TODO entry in qgroup.c. My two cents here: Take a quick look at this, i am not sure whether this is right way to do

Re: [PATCH v4] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-22 Thread David Sterba
On Thu, Jan 22, 2015 at 04:11:43PM +0800, Fan Chengniang wrote: v3: - remove --human-readable option - add --raw, --si, --iec, --kbytes, --mbytes, --gbytes, --tbytes options - by default, sizes are shown in human readable format - make columns which show sizes align to right. Others aligned

Re: btrfs convert running out of space

2015-01-22 Thread Gareth Pye
What are the chances that splitting all the large files up into sub gig pieces, finish convert, then recombine them all will work? On Wed, Jan 21, 2015 at 3:03 PM, Chris Murphy li...@colorremedies.com wrote: On Tue, Jan 20, 2015 at 4:04 PM, Gareth Pye gar...@cerberos.id.au wrote: Yeah, we don't

Re: btrfs convert running out of space

2015-01-22 Thread Gareth Pye
PS: the only snapshots are of apt-mirror, which doesn't have large files. On Fri, Jan 23, 2015 at 8:58 AM, Gareth Pye gar...@cerberos.id.au wrote: What are the chances that splitting all the large files up into sub gig pieces, finish convert, then recombine them all will work? On Wed, Jan 21,

Re: [PATCH] Btrfs: fix setup_leaf_for_split() to avoid leaf corruption

2015-01-22 Thread Liu Bo
On Tue, Jan 20, 2015 at 12:40:53PM +, Filipe Manana wrote: We were incorrectly detecting when the target key didn't exist anymore after releasing the path and re-searching the tree. This could make us split or duplicate (btrfs_split_item() and btrfs_duplicate_item() are its only callers at

Re: btrfs convert running out of space

2015-01-22 Thread Duncan
Gareth Pye posted on Fri, 23 Jan 2015 08:58:08 +1100 as excerpted: What are the chances that splitting all the large files up into sub gig pieces, finish convert, then recombine them all will work? [Further context removed due to the hassle of trying to sort the top-posting into proper order

Re: [PATCH v4] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-22 Thread Fan Chengniang/樊成酿
在 2015年01月23日 00:24, David Sterba 写道: On Thu, Jan 22, 2015 at 04:11:43PM +0800, Fan Chengniang wrote: v3: - remove --human-readable option - add --raw, --si, --iec, --kbytes, --mbytes, --gbytes, --tbytes options - by default, sizes are shown in human readable format - make columns which show

Re: [PATCH v2] Btrfs: Add code to support file creation time

2015-01-22 Thread Zach Brown
@@ -5729,6 +5744,7 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans, struct btrfs_path *path; struct btrfs_inode_ref *ref; struct btrfs_key key[2]; + struct timespec current_time; u32 sizes[2]; int nitems = name ? 2 : 1;

[PATCH v2] Btrfs: Add code to support file creation time

2015-01-22 Thread David Sterba
From: chandan r chandanrm...@gmail.com This patch adds a new member to the 'struct btrfs_inode' structure to hold the file creation time. Signed-off-by: chandan chandanrm...@gmail.com [refreshed, removed btrfs_inode_otime] Signed-off-by: David Sterba dste...@suse.cz --- This is based on top of

[PATCH v4] btrfs: add regression test for remount with thread_pool resized

2015-01-22 Thread Xing Gu
Regression test for a btrfs issue of resizing 'thread_pool' when remount the fs. This regression was introduced by the following linux kernel commit: btrfs: Added btrfs_workqueue_struct implemented ordered execution based on kernel workqueue 08a9ff3264181986d1d692a4e6fce3669700c9f8

Re: btrfs convert running out of space

2015-01-22 Thread Marc Joliet
Am Fri, 23 Jan 2015 04:34:19 + (UTC) schrieb Duncan 1i5t5.dun...@cox.net: Gareth Pye posted on Fri, 23 Jan 2015 08:58:08 +1100 as excerpted: What are the chances that splitting all the large files up into sub gig pieces, finish convert, then recombine them all will work? [...]

Recovery Operation With Multiple Devices

2015-01-22 Thread Brett King
Hi All, Just wondering how 'btrfs recovery' operates, when the source device given is one of many in an MD array - I can't find anything documentation beyond a single device use case. Does it automatically include all devices in the relevant MD array as occurs when mounting, or does it only