Re: [RFC PATCH] Btrfs: fix full backref problem when inserting shared block reference

2012-08-21 Thread Miao Xie
On Thu, 9 Aug 2012 09:21:29 +0200, David Sterba wrote: On Thu, Aug 09, 2012 at 08:48:02AM +0200, David Sterba wrote: and down, no problems so far, and the wikipedia test-subvol stresstest that caused trouble to one of your patches is also ok. I'll do some more testing on other machines and

Re: [GIT PULL 1/2] Btrfs fixes

2012-08-21 Thread Chris Mason
On Mon, Aug 20, 2012 at 07:55:59PM -0600, Linus Torvalds wrote: On Mon, Aug 20, 2012 at 6:53 PM, Chris Samuel ch...@csamuel.org wrote: This pull request with a whole heap of btrfs fixes (46 commits) appears not to have been merged yet, does anyone know if it was rejected or just missed ?

Re: State of nocow file attribute

2012-08-21 Thread David Sterba
On Fri, Aug 17, 2012 at 11:30:14PM +0800, Liu Bo wrote: IMO the following is better, just make use of the original check. If you agree with this, I'll send it as a patch :) I think it's cleaner to keep all flags that get inherited from the directory - new file at one place, ie

Re: btrfs and mdadm raid 6

2012-08-21 Thread David Sterba
On Mon, Aug 20, 2012 at 11:06:03PM +0600, Roman Mamedov wrote: 2) On filesystem converted with btrfs-convert the metadata allocation is unnecessarily large due to some other, conversion-related reasons; but this can be fixed with btrfs filesystem balance -musage=5 /mount/point (do several runs

Re: State of nocow file attribute

2012-08-21 Thread Liu Bo
On 08/21/2012 10:33 PM, David Sterba wrote: On Fri, Aug 17, 2012 at 11:30:14PM +0800, Liu Bo wrote: IMO the following is better, just make use of the original check. If you agree with this, I'll send it as a patch :) I think it's cleaner to keep all flags that get inherited from the

[GIT PULL v2] Update LZO compression

2012-08-21 Thread Markus F.X.J. Oberhumer
Hi all, as suggested on the mailing list I have converted the updated LZO code into git, so please pull my lzo-update branch from git://github.com/markus-oberhumer/linux.git lzo-update You can browse the branch at https://github.com/markus-oberhumer/linux/compare/lzo-update I'd ask some

Re: How to get Btrfs on 2nd partition of USB HDD to automount as read/write

2012-08-21 Thread David Sterba
On Sun, Aug 19, 2012 at 03:05:11PM -0500, C Anthony Risinger wrote: On Sun, Aug 19, 2012 at 2:51 PM, dg1727 dg1...@hushmail.com wrote: permissions of the directories in /dev are drwx-- for the NTFS and dr-xr-xr-x for the Btrfs. How can the OS be set up so that the Btrfs will automount

Re: Computer crash, btrfs partition errors

2012-08-21 Thread David Sterba
Hi, On Fri, Aug 17, 2012 at 09:02:07PM -0700, Not Zippy wrote: My sabayon box locked up while doing a repo sync, now I am getting the following errors on one directory on my btrfs partition Can you be more specific how did you get to the state? Did you see any related error messages in syslog

Re: Computer crash, btrfs partition errors

2012-08-21 Thread Not Zippy
Hi Thanks for the analysis, unfortunately I get the same assert error when I attempt to run the repair from the compiled source. # ./work/builds/btrfs-progs/btrfsck usage: btrfsck dev Btrfs Btrfs v0.19 # ./work/builds/btrfs-progs/btrfsck --repair /dev/sda2 enabling repair mode checking extents

Re: btrfs and mdadm raid 6

2012-08-21 Thread Jeremy Sanders
Curtis Jones wrote: 1. is btrfs-convert on /dev/md0 stable/reliable/tested/not-a-stupid-thing-to-do? 2. based on the reading I've done, resizing btrfs is supported. can you confirm? 3. there aren't any known compatibility or other issues with running btrfs on top of mdadm (raid 6) 4. any

Re: How to get Btrfs on 2nd partition of USB HDD to automount as read/write

2012-08-21 Thread dg1727
On Tue, 21 Aug 2012 11:36:32 -0400 David Sterba d...@jikos.cz wrote: On Sun, Aug 19, 2012 at 03:05:11PM -0500, C Anthony Risinger wrote: On Sun, Aug 19, 2012 at 2:51 PM, dg1727 dg1...@hushmail.com wrote: permissions of the directories in /dev are drwx-- for the NTFS and dr-xr-xr-x

[PATCH] Btrfs: fix ordered extent leak when failing to start a transaction

2012-08-21 Thread bo . li . liu
From: Liu Bo bo.li@oracle.com We cannot just return error before freeing ordered extent and releasing reserved space when we fail to start a transacion. Signed-off-by: Liu Bo bo.li@oracle.com --- fs/btrfs/inode.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff