mount via UUID failed

2011-10-11 Thread huang jun
hi,all i use the UUID option to mount the btrfs disk,but i can not success. first, the disk is /dev/sdd1 then, i pull out the disk and after mintues, pushed it again,at this time, it changes to /dev/sde1 but the UUID didn't change. why i can not mount it successfuly? the starce file attached.

Re: WARNING: at fs/btrfs/inode.c:2114

2011-10-11 Thread Christian Brunner
2011/10/11 Liu Bo liubo2...@cn.fujitsu.com: On 10/10/2011 12:41 AM, Christian Brunner wrote: I just realized that this is still the same warning I reported some month ago. I thought that this had been fixed with 25d37af374263243214be9d912cbb46a8e469bc7 which is included in the kernel I'm

Re: [PATCH] Changes to received review comments

2011-10-11 Thread Anand Jain
Christoph, Email following this will have patches, kindly find them. Thanks, Anand On 10/10/2011 07:21 PM, Christoph Hellwig wrote: On Mon, Oct 10, 2011 at 05:58:47PM +0800, Anand Jain wrote: Now SCRATCH_DEV is derived from SCRATCH_DEV_POOL. Moved code to delete and scan block device

[PATCH 1/3] 263: Functional test case for the btrfs snapshot

2011-10-11 Thread Anand Jain
Create snapshots in various ways, modify the data around the block and file boundaries and verify the data integrity. Signed-off-by: Anand Jain anand.j...@oracle.com --- 263 | 192 + 263.out |2 + README|

[PATCH 2/3] 264: Functional test case for the btrfs de-fragmentation

2011-10-11 Thread Anand Jain
To verify the btrfs de-fragmentation does not fail Signed-off-by: Anand Jain anand.j...@oracle.com --- 264 | 60 264.out |2 ++ group |1 + 3 files changed, 63 insertions(+), 0 deletions(-) create mode 100755 264

[PATCH 3/3] 265: Functional test case for the btrfs raid operations

2011-10-11 Thread Anand Jain
This will verify the various raid features in btrfs and device replacement functionality Signed-off-by: Anand Jain anand.j...@oracle.com --- 265 | 187 +++ 265.out |2 + group |1 + 3 files changed, 190 insertions(+),

Re: [PATCH 1/3] 263: Functional test case for the btrfs snapshot

2011-10-11 Thread David Sterba
please please fix your mail client not to wrap long lines ... On Tue, Oct 11, 2011 at 07:26:57PM +0800, Anand Jain wrote: Create snapshots in various ways, modify the data around the block and file boundaries and verify the data integrity. Signed-off-by: Anand Jain anand.j...@oracle.com ---

Re: [PATCH 1/3] 263: Functional test case for the btrfs snapshot

2011-10-11 Thread Christoph Hellwig
On Tue, Oct 11, 2011 at 01:38:38PM +0200, David Sterba wrote: please please fix your mail client not to wrap long lines ... And while we're at it please fix yours to not full quote :) -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

Re: [PATCH 1/3] 263: Functional test case for the btrfs snapshot

2011-10-11 Thread David Sterba
On Tue, Oct 11, 2011 at 07:42:45AM -0400, Christoph Hellwig wrote: On Tue, Oct 11, 2011 at 01:38:38PM +0200, David Sterba wrote: please please fix your mail client not to wrap long lines ... And while we're at it please fix yours to not full quote :) It was on purpose, I have marked some of

Re: Corrupt file in subvolume

2011-10-11 Thread dima
I have upgraded to 3.1 rc8. I created a new subvolume for /home, copied the files there from the old subvolume and deleted the old subvolume. It looks like the space has been reclaimed fine. Though when doing btrfsck I am still getting the same error failed to find block number 150121762816 --

Re: fixing slow sync(2)

2011-10-11 Thread Josef Bacik
On Mon, Oct 10, 2011 at 09:34:12PM -0500, John wrote: On Sat, Oct 8, 2011 at 10:35 AM, Josef Bacik jo...@redhat.com wrote: I think I fixed this, try my git tree git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-work.git Let me know if it helps. And what are you doing when

[GIT PULL] Two small btrfs fixes

2011-10-11 Thread Chris Mason
Hi Linus, Li Zefan hit some problems with looping in the btrfs autodefrag mode. These two commits are in the btrfs-3.0 branch: git://github.com/chrismason/linux.git btrfs-3.0 Chris Mason (1) commits (+3/-1): Btrfs: make sure not to defrag extents past i_size Li Zefan (1) commits (+7/-0):

Re: [PATCH] Btrfs: allow us to overcommit our enospc reservations TEST THIS PLEASE!!!

2011-10-11 Thread Josef Bacik
On Tue, Oct 11, 2011 at 12:33:48PM -0500, Mitch Harder wrote: On Mon, Sep 26, 2011 at 4:22 PM, Josef Bacik jo...@redhat.com wrote: go from taking around 45 minutes to 10 seconds on my freshly formatted 3 TiB file system.  This doesn't seem to break my other enospc tests, but could really

[PATCH] Btrfs: fix the amount of space reserved for unlink

2011-10-11 Thread Josef Bacik
Our unlink reservations were a bit much, we were reserving 10 and I only count 8 possible items we're touching, so comment what we're reserving for and fix the count value. Thanks, Signed-off-by: Josef Bacik jo...@redhat.com --- fs/btrfs/inode.c | 11 ++- 1 files changed, 10

Re: [PATCH] Btrfs: allow us to overcommit our enospc reservations TEST THIS PLEASE!!!

2011-10-11 Thread Josef Bacik
On Tue, Oct 11, 2011 at 12:33:48PM -0500, Mitch Harder wrote: On Mon, Sep 26, 2011 at 4:22 PM, Josef Bacik jo...@redhat.com wrote: go from taking around 45 minutes to 10 seconds on my freshly formatted 3 TiB file system.  This doesn't seem to break my other enospc tests, but could really

Re: OSD: no current directory

2011-10-11 Thread Sage Weil
On Tue, 11 Oct 2011, Christian Brunner wrote: 2011/10/11 Sage Weil s...@newdream.net: On Tue, 11 Oct 2011, Christian Brunner wrote: Maybe this one is easier: One of our OSDs isn't starting, because ther is no current directory. What I have are three snap directories. total 0

Re: defrag makes fragmentation worse

2011-10-11 Thread Chester
On Tue, Oct 11, 2011 at 9:37 PM, Li Zefan l...@cn.fujitsu.com wrote: This confirmed my speculation. I've fixed this bug a month ago, but the patch hasn't hitted mainline. You can try it out: http://marc.info/?l=linux-btrfsm=131495014823121w=2 With this bug fixed, I think autodefrag won't

[PATCH 1/3] 263: Functional test case for the btrfs snapshot

2011-10-11 Thread Anand Jain
Create snapshots in various ways, modify the data around the block and file boundaries and verify the data integrity. Signed-off-by: Anand Jain anand.j...@oracle.com --- 263 | 192 + 263.out |2 + README|7

[PATCH 3/3] 265: Functional test case for the btrfs raid operations

2011-10-11 Thread Anand Jain
This will verify the various raid features in btrfs and device replacement functionality Signed-off-by: Anand Jain anand.j...@oracle.com --- 265 | 187 +++ 265.out |2 + group |1 + 3 files changed, 190 insertions(+), 0

[PATCH 0/3] xfstest patch

2011-10-11 Thread Anand Jain
Anand Jain (3): 263: Functional test case for the btrfs snapshot 264: Functional test case for the btrfs de-fragmentation 265: Functional test case for the btrfs raid operations 263 | 192 + 263.out |2 + 264