Re: Btrfs out of inodes becomes corrupt

2012-02-06 Thread cwillu
[11138.535482] device fsid 808bddf9-a2c5-4121-814f-ebbf4ec7d50c devid 1 transid 11368 /dev/vda1 [11276.469967] [ cut here ] [11276.469980] WARNING: at /build/buildd/linux-3.0.0/fs/btrfs/extent-tree.c:5693 use_block_rsv+0xc0/0x170 [btrfs]() [11276.469982] Hardware

Re: Btrfs out of inodes becomes corrupt

2012-02-06 Thread Hugo Mills
On Mon, Feb 06, 2012 at 05:33:51AM -0600, cwillu wrote: 3.0 is two revisions old -- something on the order of 6 months. There's been a lot of development since then, too. You really should be running 3.2 or 3.2-rc2 (i.e. the latest released or latest development version of the kernel).

Re: subvolume info in /proc/mounts

2012-02-06 Thread David Sterba
On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this about; http://thread.gmane.org/gmane.comp.file-systems.btrfs/4487 Thanks, the patch looks ok and works as expected. Goffredo, do you want to resend it? (The lock around the mnt_root is not

Re: [PATCH 3/3] xfstests: add btrfs online defragments QA test

2012-02-06 Thread Christoph Hellwig
On Mon, Feb 06, 2012 at 04:27:49PM +0800, Liu Bo wrote: +_runtest() +{ + $progs_dir/runtest.sh $defrag_args $SCRATCH_MNT $SCRATCH_DEV please put the actual tests into test cases themselves instead of calling out into shell scripts under src. If you have common code shared between multiple

Re: subvolume info in /proc/mounts

2012-02-06 Thread Christoph Hellwig
On Mon, Feb 06, 2012 at 12:53:21PM +0100, David Sterba wrote: On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this about; http://thread.gmane.org/gmane.comp.file-systems.btrfs/4487 Thanks, the patch looks ok and works as expected.

Re: Putney's First Rule

2012-02-06 Thread David Nicol
On Mon, Feb 6, 2012 at 6:14 AM, David Nicol davidni...@gmail.com wrote: Look! It's Putney's First Rule! On Thu, Oct 13, 2011 at 10:51 AM, Jeff Putney jeffrey.put...@gmail.com wrote: Anyone can make up an axiom and call it the first rule of something. -- Digital artists often sneer

Re: subvolume info in /proc/mounts

2012-02-06 Thread Al Viro
On Mon, Feb 06, 2012 at 07:18:24AM -0500, Christoph Hellwig wrote: On Mon, Feb 06, 2012 at 12:53:21PM +0100, David Sterba wrote: On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this about;

Re: Btrfs out of inodes becomes corrupt

2012-02-06 Thread Tommy Faasen
I rolled a new kernel 3.2.4 and it picked everything up. No crashes, my disk was still full, with 40+ gigs free but now I can delete files and access them. I'm running btrfs fi balance /mountpoint at the moment which I understand frees up the remaining space. Thanks again for your assistance!

[PATCH] Btrfs-progs: make scrub IO priority configurable

2012-02-06 Thread Stefan Behrens
The btrfs tool is changed in order to support command line parameters to configure the IO priority of the scrub tasks. Also the default is changed. The default IO priority for scrub is the idle class now. Some basic performance measurements have been done with the goal to measure which IO

[PATCH] Btrfs: set ioprio of scrub readahead to idle

2012-02-06 Thread Stefan Behrens
Reduce ioprio class of scrub readahead threads to idle priority. This setting is fixed. This priority has shown the best performance during all measurements. Signed-off-by: Stefan Behrens sbehr...@giantdisaster.de --- fs/btrfs/ctree.h |3 +++ fs/btrfs/reada.c |5 + 2 files changed, 8

Re: [PATCH 0/3] Btrfs-progs: restriper interface

2012-02-06 Thread Goffredo Baroncelli
On Saturday, 04 February, 2012 15:47:17 Ilya Dryomov wrote: On Sat, Feb 04, 2012 at 02:06:28PM +0100, Goffredo Baroncelli wrote: Hi Ilya, On Friday, 03 February, 2012 22:49:09 Ilya Dryomov wrote: Hello, This is the userspace part of restriper, rebased onto the new progs

Re: [PATCH 2/3] Btrfs-progs: implement new subcommand parser

2012-02-06 Thread Goffredo Baroncelli
On Saturday, 04 February, 2012 15:45:25 Ilya Dryomov wrote: On Sat, Feb 04, 2012 at 01:54:23PM +0100, Goffredo Baroncelli wrote: Hi Ilya On Friday, 03 February, 2012 22:23:59 you wrote: This completely replaces the existing subcommand infrastructure, which is not flexible enough to

Re: [PATCH 3/3] xfstests: add btrfs online defragments QA test

2012-02-06 Thread Liu Bo
On 02/06/2012 08:11 PM, Christoph Hellwig wrote: On Mon, Feb 06, 2012 at 04:27:49PM +0800, Liu Bo wrote: +_runtest() +{ +$progs_dir/runtest.sh $defrag_args $SCRATCH_MNT $SCRATCH_DEV please put the actual tests into test cases themselves instead of calling out into shell scripts under

Re: Several unhappy btrfs's after RAID meltdown

2012-02-06 Thread Ryan C. Underwood
Does anyone have any idea how I should proceed with the below quoted situation? Unfortunately, I am going to have to give up on btrfs if it is really so fragile. I am using kernel 3.2.2 and btrfs-tools from November. On Sun, Feb 05, 2012 at 12:41:28PM -0600, Ryan C. Underwood wrote: Hi,

Understanding Default RAID Behavior

2012-02-06 Thread Mario Lopez
The Wiki does not make it clear as to why adding a secondary device defaults to RAID1 metadata and RAID0 data. I bought two SSDs with the intention of doing a BTRFS RAID0 for my root. What is the difference between forcing RAID0 on metadata and data as opposed to the default behavior? Can

Re: Several unhappy btrfs's after RAID meltdown

2012-02-06 Thread Liu Bo
On 02/07/2012 11:39 AM, Ryan C. Underwood wrote: Does anyone have any idea how I should proceed with the below quoted situation? Unfortunately, I am going to have to give up on btrfs if it is really so fragile. I am using kernel 3.2.2 and btrfs-tools from November. On Sun, Feb 05, 2012 at