From: Wang Shilong
This patch introduces '-c' option to print the ID of the child qgroups.
You may use it like:
btrfs qgroup show -c
For Example:
qgroupid(2/0)
/ \
/ \
/ \
qgroupid(1/0)
From: Wang Shilong
This patch introduce '-t' option which can help you print the result
as a table.
You can use it like:
btrfs qgroup show -t
However, to table the result better, we make '-p' and '-c' not present
at the same time.If you still want to show both of them at the same time,
From: Wang Shilong
This patch introduces '-F' option which can help you filter the qgroups
by the path name, you may use it like:
btrfs qgroup show -F
For example:
qgroupid(2/0)
/ \
/ \
From: Wang Shilong
This patch introduces '-l' option to print max referenced size of qgroups.
You may use it like:
btrfs qgroup show -l
Signed-off-by: Wang Shilong
Signed-off-by: Miao Xie
---
cmds-qgroup.c | 9 +++--
qgroup.c | 7 +++
qgroup.h | 1 +
3 file
From: Wang Shilong
You might want to list qgroups in order of some items, such as 'qgroupid',
'rfer'
and so on, you can use '--sort'. Now you can sort the qgroups by 'qgroupid',
'rfer','excl','max_rfer' and 'max_excl'.
For example:
If you want to list qgroups in order of 'qgroupid'.
You
From: Wang Shilong
This patch introduces '-f' option which can help you filter the qgroups
by the path name, you may use it like:
btrfs qgroup show -f
For example:
qgroupid(2/0)
/ \
/ \
From: Wang Shilong
The current show_qgroups() just shows a little information, and it is hard to
add some functions which the users need in the future, so i restructure it, make
it easy to add new functions.
In order to improve the scalability of show_qgroups(), i add some important
structures:
From: Wang Shilong
This patch introduces '-p' option to print the ID of the parent qgroups.
You may use it like:
btrfs qgroup show -p
For Example:
qgroupid(2/0)
/ \
/ \
/ \
qgroupid(1/0)
From: Wang Shilong
This patch introduce '-e' option to print max exclusive size of qgroups.
You may use it like this:
btrfs qgroup -e
Signed-off-by: Wang Shilong
Signed-off-by: Miao Xie
---
cmds-qgroup.c | 9 +++--
qgroup.c | 8
qgroup.h | 1 +
3 files
The patchset enhanced btrfs qgroup show command.
Firstly, we restructure show_qgroups, make it easy to add new features.
And then we add '-p' '-c', '-l',and '-e' options to print the parent
qgroup id, child qgroup id, max referenced size and max exclusive size
of qgroup respectively, add '-F' and
On 09/23/2013 09:53 AM, Dusty Mabe wrote:
Hi Wang,
Thank you! There is one other thing I have noticed while playing
around with quota and qgroups. If I delete subvolumes I can manage to
get some of the qgroup information to be reported as a negative
number. If you are interested check out my ste
Hello,
The error shown in your log seems to be a regression related to
subvolumes and a new uuid tree.
See here
http://www.spinics.net/lists/linux-btrfs/msg27712.html
A patch that should fix the subvolume errors is here
http://www.spinics.net/lists/linux-btrfs/msg27717.html
You can try that patc
Hi Wang,
Thank you! There is one other thing I have noticed while playing
around with quota and qgroups. If I delete subvolumes I can manage to
get some of the qgroup information to be reported as a negative
number. If you are interested check out my steps at
http://dustymabe.com/2013/09/22/btrfs-
On sun, 22 Sep 2013 21:55:53 +0100, Filipe David Borba Manana wrote:
> Currently the fs sync function (super.c:btrfs_sync_fs()) doesn't
> wait for delayed work to finish before returning success to the
> caller. This change fixes this, ensuring that there's no data loss
> if a power failure ha
On 09/22/2013 11:14 PM, Dusty Mabe wrote:
> Miao Xie cn.fujitsu.com> writes:
>
>> The patchset enhanced btrfs qgroup show command.
>>
>> Firstly, we restructure show_qgroups, make it easy to add new features.
>>
>> And then we add '-p' '-c', '-l',and '-e' options to print the parent
>> qgroup id,
Not sure if it's anything interesting - I had the following entry in
dmesg a few days ago, on a server with 32 GB RAM. The system is still working
fine.
[1878432.675210] btrfs-qgroup-re: page allocation failure: order:5,
mode:0x104050
[1878432.675319] CPU: 5 PID: 22251 Comm: btrfs-qgroup-re Not
Hello list,
I'm still busy trying to figure out how to get VMs running without
corruption (see
http://www.spinics.net/lists/linux-btrfs/msg27300.html) and in the
process of this, I tried to remove the "@vmware" subvolume I've made.
This seems to trigger some bug, as dmesg is showing an OOPS (2 I
Currently the fs sync function (super.c:btrfs_sync_fs()) doesn't
wait for delayed work to finish before returning success to the
caller. This change fixes this, ensuring that there's no data loss
if a power failure happens right after fs sync returns success to
the caller and before the next commit
In inode.c:btrfs_orphan_add() if we failed to insert the orphan
item, we would return without decrementing the orphan count that
we just incremented before attempting the insertion, leaving the
orphan inode count wrong.
In inode.c:btrfs_orphan_del(), we were decrementing the inode
orphan count if
Hi Linus,
Please pull my for-linus branch:
git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus
These are mostly bug fixes and a two small performance fixes. The most
important of the bunch are Josef's fix for a snapshotting regression and
Mark's update to fix compile p
On 09/19/2013 11:19 AM, Saul Wold wrote:
Hi there,
I am attempting to build a rootfs image from an existing rootfs
directory tree. I am using the 0.20 @ 194aa4a of Chris's git repo.
The couple problem I saw was that the target image file needed to exist,
although I think I can patch that then
Miao Xie cn.fujitsu.com> writes:
>
> The patchset enhanced btrfs qgroup show command.
>
> Firstly, we restructure show_qgroups, make it easy to add new features.
>
> And then we add '-p' '-c', '-l',and '-e' options to print the parent
> qgroup id, child qgroup id, max referenced size and max e
Free btrfs_path structure before returning due to failure of calls to
btrfs_search_slot() or btrfs_next_leaf() functions.
Signed-off-by: chandan
---
cmds-check.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/cmds-check.c b/cmds-check.c
index e08b79d..c947156 100644
On Sat, Sep 21, 2013 at 1:20 PM, Ahmet Inan
wrote:
>> You will want the patch I just sent,
>>
>> Btrfs: create the uuid tree on remount rw
>>
>> and that should fix the snapshot problems. Thanks,
>
> thanks Josef - you can close this bug:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=61301
>
>
24 matches
Mail list logo