Re: kernel BUG at fs/btrfs/extent_io.c:3982!

2012-04-10 Thread Jim Schutt
On 04/10/2012 02:24 PM, Chris Mason wrote: On Tue, Apr 10, 2012 at 01:39:14PM -0600, Jim Schutt wrote: Hi, I hit this BUG today. I'm running 3.3.1 merged with the ceph and btrfs bits for 3.4, i.e. 3.3.1 + commit bc3f116fec194 "Btrfs: update the checks for mixed block groups with big metada

Re: kernel BUG at fs/btrfs/extent_io.c:3982!

2012-04-10 Thread Chris Mason
On Tue, Apr 10, 2012 at 01:39:14PM -0600, Jim Schutt wrote: > Hi, > > I hit this BUG today. > > I'm running 3.3.1 merged with the ceph and btrfs bits for 3.4, > i.e. 3.3.1 + > commit bc3f116fec194 "Btrfs: update the checks for mixed block groups with > big metadata blocks" > commit c01a9

kernel BUG at fs/btrfs/extent_io.c:3982!

2012-04-10 Thread Jim Schutt
Hi, I hit this BUG today. I'm running 3.3.1 merged with the ceph and btrfs bits for 3.4, i.e. 3.3.1 + commit bc3f116fec194 "Btrfs: update the checks for mixed block groups with big metadata blocks" commit c01a935b9 "rbd: move snap_rwsem to the device, rename to header_rwsem" The btrfs

Re: Bulk discard doesn't work after add/delete of devices

2012-04-10 Thread Lutz Euler
Hi, the issue I raised in this thread is still not fixed. Please, could someone look into it? A fix should be simple, especially as the issue is easily reproducable. (In case the information in this thread so far is not sufficient for that I will happily provide a recipe; just ask.) Also, I believ

Introducing btrfs-next

2012-04-10 Thread Josef Bacik
Hello, In an effort to be a little bit better about reviewing patches sent to the mailinglist I've created a btrfs-next git tree kernel.org. You can get it here git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git I'm going to be scraping the mailinglist every day for patches that

[PATCH] Btrfs: use commit root when loading free space cache

2012-04-10 Thread Josef Bacik
A user reported that booting his box up with btrfs root on 3.4 was way slower than on 3.3 because I removed the ideal caching code. It turns out that we don't load the free space cache if we're in a commit for deadlock reasons, but since we're reading the cache and it hasn't changed yet we are saf

Re: Boot speed/mount time regression with 3.4.0-rc2

2012-04-10 Thread Calvin Walton
On Tue, 2012-04-10 at 18:29 +0200, David Sterba wrote: > On Tue, Apr 10, 2012 at 12:04:00PM -0400, Calvin Walton wrote: > > On Tue, 2012-04-10 at 11:16 -0400, Josef Bacik wrote: > > This one brings the mount time right down on my laptop, it's back to > > around 0.5 seconds, same as 3.3.x. > > Did

Re: Boot speed/mount time regression with 3.4.0-rc2

2012-04-10 Thread David Sterba
On Tue, Apr 10, 2012 at 12:04:00PM -0400, Calvin Walton wrote: > On Tue, 2012-04-10 at 11:16 -0400, Josef Bacik wrote: > This one brings the mount time right down on my laptop, it's back to > around 0.5 seconds, same as 3.3.x. Did you notice any change during umount? david -- To unsubscribe from

Re: kernel BUG at fs/btrfs/volumes.c:2733

2012-04-10 Thread Ilya Dryomov
On Fri, Mar 30, 2012 at 10:44:05PM +0200, Sander wrote: > Ilya Dryomov wrote (ao): > > On Fri, Mar 30, 2012 at 07:49:56PM +0200, Sander wrote: > > Thanks. btrfs-debug-tree confirms that you've got a balance item on > > media. > > > > > > > After that mount it back and see if there is "btrfs: conti

Re: Boot speed/mount time regression with 3.4.0-rc2

2012-04-10 Thread Calvin Walton
On Tue, 2012-04-10 at 11:16 -0400, Josef Bacik wrote: > On Mon, Apr 09, 2012 at 05:20:46PM -0400, Calvin Walton wrote: > > On Mon, 2012-04-09 at 16:54 -0400, Josef Bacik wrote: > > > On Mon, Apr 09, 2012 at 01:10:04PM -0400, Calvin Walton wrote: > > > > On Mon, 2012-04-09 at 11:53 -0400, Calvin Wal

Re: btrfs 3.2.2 -> 3.3.1 upgrade finally ate babies, some advice?

2012-04-10 Thread Leho Kraav
On 10.04.2012 12:07, Ilya Dryomov wrote: > On Tue, Apr 10, 2012 at 01:19:54AM +0200, David Sterba wrote: >> >> IIRC somebody reported similar problem recently. It basically means >> there's an inconsistent balance state. Adding Ilya to CC. > > Leho, so you just mount with discard patch and run 'bt

Re: [PATCH] Revert "Btrfs: increase the global block reserve estimates"

2012-04-10 Thread Chris Mason
On Tue, Apr 10, 2012 at 12:40:08AM +0200, David Sterba wrote: > On Mon, Apr 09, 2012 at 09:37:08AM +0800, Liu Bo wrote: > > The whole thing is about our overcommit stuff, that is, > > since we are not able to get _precise_ number of reservation right now, we > > usually > > reserve more than what

Re: Boot speed/mount time regression with 3.4.0-rc2

2012-04-10 Thread Josef Bacik
On Mon, Apr 09, 2012 at 05:20:46PM -0400, Calvin Walton wrote: > On Mon, 2012-04-09 at 16:54 -0400, Josef Bacik wrote: > > On Mon, Apr 09, 2012 at 01:10:04PM -0400, Calvin Walton wrote: > > > On Mon, 2012-04-09 at 11:53 -0400, Calvin Walton wrote: > > > > Hi, > > > > > > > > I have a system that's

Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-10 Thread Fajar A. Nugraha
On Tue, Apr 10, 2012 at 9:35 PM, Matthias G. Eckermann wrote: > On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote: >> How can I create config for /data or other directories (other than >> manually creating the config file and .snapshots directory)? > > This should do it: > > sudo snapper -c home

Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-10 Thread Matthias G. Eckermann
On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote: > Anyway, I got snapper-0.0.10-0 installed now, but having a small > problem. I use different subvolumes for multiple directories. For > example, /home and /data. Creating the config for both results in an > error > > $ sudo snapper list-config

Re: storing metadata on a dedicated device

2012-04-10 Thread Jan Schmidt
Please, don't reply above full quote. On 10.04.2012 10:34, Jan Killius wrote: > Any plans to merge/develop further ? Yes, but not high in priority. The old patch set was basically working (as far as I remember), but there's no chance you can just happily apply it to the current btrfs code withou

Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-10 Thread Fajar A. Nugraha
On Tue, Apr 10, 2012 at 6:46 PM, Arvin Schnell wrote: > On Mon, Apr 09, 2012 at 08:18:45AM +0700, Fajar A. Nugraha wrote: >> I noticed that openSUSE buildservice now provides debs for ubuntu as >> well. I can't seem to find a way to add it to apt source list though, >> using the usual line >> >> d

Re: Snapper packages for Ubuntu

2012-04-10 Thread Arvin Schnell
On Tue, Apr 10, 2012 at 08:08:15PM +0700, Fajar A. Nugraha wrote: > On Tue, Apr 10, 2012 at 6:50 PM, Arvin Schnell wrote: > > libblocxx is not required for snapper anymore since about a > > month. It's checked during configure. > > You're right. I just tested it, and not having libblocxx during

Re: Boot speed/mount time regression with 3.4.0-rc2

2012-04-10 Thread Josef Bacik
On Mon, Apr 09, 2012 at 05:20:46PM -0400, Calvin Walton wrote: > On Mon, 2012-04-09 at 16:54 -0400, Josef Bacik wrote: > > On Mon, Apr 09, 2012 at 01:10:04PM -0400, Calvin Walton wrote: > > > On Mon, 2012-04-09 at 11:53 -0400, Calvin Walton wrote: > > > > Hi, > > > > > > > > I have a system that's

Re: Snapper packages for Ubuntu

2012-04-10 Thread Fajar A. Nugraha
On Tue, Apr 10, 2012 at 6:50 PM, Arvin Schnell wrote: > On Tue, Apr 10, 2012 at 05:37:38PM +0700, Fajar A. Nugraha wrote: >> Hi, >> >> I've created snapper packages for Ubuntu, available on >> https://launchpad.net/~snapper/+archive/stable. For those new to >> snapper, it's a tool for managing btr

Re: Snapper packages for Ubuntu

2012-04-10 Thread Arvin Schnell
On Tue, Apr 10, 2012 at 05:37:38PM +0700, Fajar A. Nugraha wrote: > Hi, > > I've created snapper packages for Ubuntu, available on > https://launchpad.net/~snapper/+archive/stable. For those new to > snapper, it's a tool for managing btrfs snapshots > (http://en.opensuse.org/Portal:Snapper). It de

Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-10 Thread Arvin Schnell
On Mon, Apr 09, 2012 at 08:18:45AM +0700, Fajar A. Nugraha wrote: > On Thu, Mar 1, 2012 at 8:48 PM, Arvin Schnell wrote: > > We have now created a project in the openSUSE buildservice were > > we provide snapper packages for various distributions, e.g. RHEL6 > > and Fedora 16. Please find the down

[PATCH] Snapper: Always create .snapshot dir unconditonally

2012-04-10 Thread Fajar A. Nugraha
Current version of snapper (commit 50dec40) bails out with this error if .snapshots directory doesn't exist (as is the case on new snapper install): 2012-04-10 16:15:30,241 ERROR libsnapper(17784) Snapshot.cc(nextNumber):362 - mkdir failed errno:2 (No such file or directory) This patch tries to c

Snapper packages for Ubuntu

2012-04-10 Thread Fajar A. Nugraha
Hi, I've created snapper packages for Ubuntu, available on https://launchpad.net/~snapper/+archive/stable. For those new to snapper, it's a tool for managing btrfs snapshots (http://en.opensuse.org/Portal:Snapper). It depends on libblocxx available from https://launchpad.net/~bjoern-esser-n/+archi

Re: btrfs 3.2.2 -> 3.3.1 upgrade finally ate babies, some advice?

2012-04-10 Thread Ilya Dryomov
On Tue, Apr 10, 2012 at 01:19:54AM +0200, David Sterba wrote: > On Tue, Apr 10, 2012 at 12:32:00AM +0300, Leho Kraav wrote: > > It is also BUG time WITH the patch. Mount succeeds, but "btrfs fi balance > > HOME" gives us: > > > > Apr 10 00:24:18 server sudo: pam_unix(sudo:session): session opened

Re: storing metadata on a dedicated device

2012-04-10 Thread Jan Killius
Any plans to merge/develop further ? On Tue, Apr 10, 2012 at 9:45 AM, David Sterba wrote: > On Tue, Apr 10, 2012 at 03:06:28PM +0800, Liu Bo wrote: >> > I just wanted to ask if storing metadata on a dedicated device is >> > implemented at the moment ? >> > It's listed under "Project ideas" and th

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-10 Thread David Sterba
On Mon, Apr 09, 2012 at 11:16:05AM -0400, J. Bruce Fields wrote: > > Nobody yet, I'm going to send a patch shortly that will support this. > > Thanks, > > Great. It would also be far preferable if it was just always on (at > least by default) rather than requiring a mount option. [looks into J

Re: storing metadata on a dedicated device

2012-04-10 Thread David Sterba
On Tue, Apr 10, 2012 at 03:06:28PM +0800, Liu Bo wrote: > > I just wanted to ask if storing metadata on a dedicated device is > > implemented at the moment ? > > It's listed under "Project ideas" and there is supposed to be a patch > > but I can't find it anywhere. > > AFAIK, not yet, but it is on

Re: storing metadata on a dedicated device

2012-04-10 Thread Liu Bo
On 04/10/2012 02:57 PM, Jan Killius wrote: > Hello, > I just wanted to ask if storing metadata on a dedicated device is > implemented at the moment ? > It's listed under "Project ideas" and there is supposed to be a patch > but I can't find it anywhere. AFAIK, not yet, but it is on plan :) -- li