Re: btrfs causing reboots and kernel oops on SL 6 (RHEL 6)

2012-10-04 Thread Joel Pearson
On 5 October 2012 13:29, Fajar A. Nugraha wrote: > > On Sat, Jun 4, 2011 at 11:33 AM, Joel Pearson > wrote: > > Hi, > > > > I'm using SL 6 (RHEL 6) and I've been playing around with running > > PostgreSQL on btrfs. Snapshotting works ok, but the computer keeps > > rebooting without warning (can b

Re: btrfs causing reboots and kernel oops on SL 6 (RHEL 6)

2012-10-04 Thread Fajar A. Nugraha
On Sat, Jun 4, 2011 at 11:33 AM, Joel Pearson wrote: > Hi, > > I'm using SL 6 (RHEL 6) and I've been playing around with running > PostgreSQL on btrfs. Snapshotting works ok, but the computer keeps > rebooting without warning (can be 5 mins or 1.5 hours), finally I > actually managed to get a Kern

Re: [PATCH] Btrfs-progs: add parent uuid for snapshots

2012-10-04 Thread Anand Jain
Dong, + if (puuid) + memcpy(&ri->uuid, uuid, BTRFS_UUID_SIZE); I think here is "&ri->puuid" Sorry my mistake. Thanks for the review. -Anand -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org M

[PATCH V2] Btrfs-progs: add parent uuid for snapshots

2012-10-04 Thread Anand jain
From: Anand Jain Reviewed-by: Dong Robin Signed-off-by: Anand Jain --- btrfs-list.c | 32 +++- btrfs-list.h |1 + cmds-subvolume.c |6 +- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/btrfs-list.c b/btrfs-list.c index b1c9714.

[PATCH] Btrfs-progs: Corrections and additions to the btrfs man page

2012-10-04 Thread Anand jain
From: Anand Jain Signed-off-by: Anand Jain --- man/btrfs.8.in | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 6d6c70a..71af35c 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -126,9 +126,15 @@ and top level. The parent'

[PATCH] Btrfs-progs: Update btrfs man page for -P option

2012-10-04 Thread Anand jain
From: Anand Jain Signed-off-by: Anand Jain --- man/btrfs.8.in |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 29f93cf..71af35c 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -132,6 +132,8 @@ and top level. The parent's ID may

Re: [PATCH 2/2 v3] Btrfs: snapshot-aware defrag

2012-10-04 Thread Mitch Harder
On Thu, Oct 4, 2012 at 9:22 AM, Liu Bo wrote: > On 10/03/2012 10:02 PM, Chris Mason wrote: >> On Tue, Sep 25, 2012 at 07:07:53PM -0600, Liu Bo wrote: >>> On 09/26/2012 01:39 AM, Mitch Harder wrote: On Mon, Sep 17, 2012 at 4:58 AM, Liu Bo wrote: > This comes from one of btrfs's project id

[PATCH 2/2] Update help page

2012-10-04 Thread Goffredo Baroncelli
From: Goffredo Baroncelli --- man/btrfs.8.in | 100 1 file changed, 100 insertions(+) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 4b0a9f9..96c9239 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -27,6 +27,8 @@ btrfs \- control

[PATCH 1/2] Update btrfs filesystem df command

2012-10-04 Thread Goffredo Baroncelli
From: Goffredo Baroncelli The command btrfs filesystem df is used to query the status of the chunks, how many space on the disk(s) are used by the chunks, how many space are available in the chunks, and an estimation of the free space of the filesystem. --- cmds-filesystem.c | 270 ++

[PATCH][BTRFS-PROGS][V3] btrfs filesystem df

2012-10-04 Thread Goffredo Baroncelli
Hi Chris, this serie of patches updated the command "btrfs filesystem df". I update this command because it is not so easy to get the information about the disk usage from the command "fi df" and "fi show". This patch was the result of some discussions on the btrfs mailing list. Many thanks to al

Re: btrfs send/receive review by vfs folks

2012-10-04 Thread Alex Lyakas
Hi Jan, as I promised, here is some code for you to look at. First I will describe the approach in general. # Get rid of the pipe. Instead, user-space passes a buffer and kernel fills the specified user-space buffer with commands. # When the buffer is full, kernel stops generating commands and re

Re: Will RAID have issues with disks that spin down?

2012-10-04 Thread Hugo Mills
On Thu, Oct 04, 2012 at 10:36:43AM -0400, Ken D'Ambrosio wrote: > Hi. I know that several hardware RAID solutions have issues with > disks that spin down when idle; the time to spin back up -- usually > on the order of five seconds -- causes unhappy timeouts, etc. I was > wondering if that would

Will RAID have issues with disks that spin down?

2012-10-04 Thread Ken D'Ambrosio
Hi. I know that several hardware RAID solutions have issues with disks that spin down when idle; the time to spin back up -- usually on the order of five seconds -- causes unhappy timeouts, etc. I was wondering if that would be an issue with RAID a-la btrfs? Thanks, -Ken -- To unsubscribe f

Re: [PATCH] btrfs ulist use rbtree instead

2012-10-04 Thread Zimilo
Detailed explanations for the patch: When the small inline cache is exhausted, created a new rbtree, and the new rbtree uses original spaces the inline nodes placed for saving memory. By using the rbtree can gain a better performance when nnodes gets larger. Sorry for I d

Re: [PATCH 2/2 v3] Btrfs: snapshot-aware defrag

2012-10-04 Thread Liu Bo
On 10/03/2012 10:02 PM, Chris Mason wrote: > On Tue, Sep 25, 2012 at 07:07:53PM -0600, Liu Bo wrote: >> On 09/26/2012 01:39 AM, Mitch Harder wrote: >>> On Mon, Sep 17, 2012 at 4:58 AM, Liu Bo wrote: This comes from one of btrfs's project ideas, As we defragment files, we break any sharin

Re: [PATCH] Btrfs-progs: add parent uuid for snapshots

2012-10-04 Thread Dong Robin
2012/10/4 Anand jain : > From: Anand Jain > > Signed-off-by: Anand Jain > --- > btrfs-list.c | 32 +++- > btrfs-list.h |1 + > cmds-subvolume.c |6 +- > 3 files changed, 33 insertions(+), 6 deletions(-) > > diff --git a/btrfs-list.c b/btrfs-list.

[PATCH] Btrfs-progs: add parent uuid for snapshots

2012-10-04 Thread Anand jain
From: Anand Jain Signed-off-by: Anand Jain --- btrfs-list.c | 32 +++- btrfs-list.h |1 + cmds-subvolume.c |6 +- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/btrfs-list.c b/btrfs-list.c index b1c9714..9d5a11f 100644 --- a/btr

Re: [PATCH] btrfs ulist use rbtree instead

2012-10-04 Thread Arne Jansen
On 04.10.2012 11:26, David Sterba wrote: >> @@ -207,16 +266,23 @@ EXPORT_SYMBOL(ulist_add); >> * end is reached. No guarantee is made with respect to the order in which >> * the elements are returned. They might neither be returned in order of >> * addition nor in ascending order. >> - * It i

Re: [PATCH] btrfs ulist use rbtree instead

2012-10-04 Thread David Sterba
> @@ -207,16 +266,23 @@ EXPORT_SYMBOL(ulist_add); > * end is reached. No guarantee is made with respect to the order in which > * the elements are returned. They might neither be returned in order of > * addition nor in ascending order. > - * It is allowed to call ulist_add during an enumerat

[PATCH] btrfs ulist use rbtree instead

2012-10-04 Thread Rock Lee
From: Rock --- fs/btrfs/backref.c | 10 ++-- fs/btrfs/qgroup.c | 16 +++--- fs/btrfs/send.c|2 +- fs/btrfs/ulist.c | 154 +--- fs/btrfs/ulist.h | 45 --- 5 files changed, 161 insertions(+), 66 deletions(-) diff --gi

Re: tree root

2012-10-04 Thread David Sterba
On Wed, Oct 03, 2012 at 06:35:00PM +0200, Øystein Sættem Middelthun wrote: > Well block 14102764707840 seems great, but generation doesn't match, > have=109268, want=109269 > > Because the filesystem was last in use with a pre 3.2-kernel I am unable to > use mount -o recovery, but restore seems to

Re: [PATCH] Btrfs progs: quota groups support

2012-10-04 Thread Arne Jansen
On 29.09.2012 23:48, Diego Calleja wrote: > On Viernes, 10 de agosto de 2012 15:51:07 Jan Schmidt escribió: >> From: Arne Jansen >> >> Signed-off-by: Jan Schmidt >> Signed-off-by: Arne Jansen >> --- >> This is the rebased version of Arne's qgroup patch set. He's the >> original author, which is

Re: [PATCH][BTRFS-PROGS][V2] btrfs filesystem df

2012-10-04 Thread David Sterba
On Wed, Oct 03, 2012 at 09:38:29PM +0200, Goffredo Baroncelli wrote: > the output of the program ends with the "Metadata Single". What you > called "Help text" is a short description in the email. Ah, I see. I still find it useful, would be good to include it in help text or under a separate o