btrfs and LVM snapshots (Re: kernel BUG at fs/btrfs/extent-tree.c:1772)

2013-02-09 Thread Piotr Pawłow
Hello, Yeah you can't mount images, we clear out the chunk tree so nothing works. Let me know if you run into any problems in the future. Thanks, That's surprising, I haven't seen it mentioned anywhere. With any other filesystem I could use an LVM snapshot to save the original state, but wit

[PATCH] btrfs: add cancellation points to defrag

2013-02-09 Thread David Sterba
The defrag operation can take very long, we want to have a way how to cancel it. The code checks for a pending signal at safe points in the defrag loops and returns EAGAIN. This means a user can press ^C after running 'btrfs fi defrag', woks for both defrag modes, files and root. Returning from th

Re: [PATCH] Btrfs-progs: -U_FORTIFY_SOURCE before -D

2013-02-09 Thread Ian Kumlien
On Sun, Feb 10, 2013 at 01:06:26AM +0300, Sergei Trofimovich wrote: > On Sat, 9 Feb 2013 19:57:20 +0100 > Ian Kumlien wrote: > > > On Sat, Feb 09, 2013 at 09:02:06PM +0300, Sergei Trofimovich wrote: > > > On Sat, 9 Feb 2013 00:30:21 +0100 > > > Ian Kumlien wrote: > > > > > > > My builds are cl

Re: [PATCH] Btrfs-progs: add static compile target

2013-02-09 Thread Ian Kumlien
On Sat, Feb 09, 2013 at 10:48:51PM +0300, Sergei Trofimovich wrote: > On Sat, 9 Feb 2013 19:51:44 +0100 > Ian Kumlien wrote: > > > On Sat, Feb 09, 2013 at 08:57:42PM +0300, Sergei Trofimovich wrote: > > > On Sat, 9 Feb 2013 00:19:29 +0100 > > > Ian Kumlien wrote: > > > > > > > Sometimes, when

Re: [PATCH] Btrfs-progs: -U_FORTIFY_SOURCE before -D

2013-02-09 Thread Sergei Trofimovich
On Sat, 9 Feb 2013 19:57:20 +0100 Ian Kumlien wrote: > On Sat, Feb 09, 2013 at 09:02:06PM +0300, Sergei Trofimovich wrote: > > On Sat, 9 Feb 2013 00:30:21 +0100 > > Ian Kumlien wrote: > > > > > My builds are cluttered with: > > > :0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by > > > def

Re: [PATCH] Btrfs-progs: add static compile target

2013-02-09 Thread Sergei Trofimovich
On Sat, 9 Feb 2013 19:51:44 +0100 Ian Kumlien wrote: > On Sat, Feb 09, 2013 at 08:57:42PM +0300, Sergei Trofimovich wrote: > > On Sat, 9 Feb 2013 00:19:29 +0100 > > Ian Kumlien wrote: > > > > > Sometimes, when you least expect it, a static binary is what you need to > > > rescue your data... O

Re: [PATCH] Btrfs-progs: -U_FORTIFY_SOURCE before -D

2013-02-09 Thread Ian Kumlien
On Sat, Feb 09, 2013 at 09:02:06PM +0300, Sergei Trofimovich wrote: > On Sat, 9 Feb 2013 00:30:21 +0100 > Ian Kumlien wrote: > > > My builds are cluttered with: > > :0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by > > default] > > > > Which makes it hard to tell if something breaks or not

Re: [PATCH] Btrfs-progs: add static compile target

2013-02-09 Thread Ian Kumlien
On Sat, Feb 09, 2013 at 08:57:42PM +0300, Sergei Trofimovich wrote: > On Sat, 9 Feb 2013 00:19:29 +0100 > Ian Kumlien wrote: > > > Sometimes, when you least expect it, a static binary is what you need to > > rescue your data... Or just get a good enough handle on things to make > > it work again

Re: [PATCH] Btrfs-progs: -U_FORTIFY_SOURCE before -D

2013-02-09 Thread Sergei Trofimovich
On Sat, 9 Feb 2013 00:30:21 +0100 Ian Kumlien wrote: > My builds are cluttered with: > :0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by > default] > > Which makes it hard to tell if something breaks or not. > I don't know about you, but bilding with > GCC 4.7.2 on gentoo, this is a issu

Re: [PATCH] Btrfs-progs: add static compile target

2013-02-09 Thread Sergei Trofimovich
On Sat, 9 Feb 2013 00:19:29 +0100 Ian Kumlien wrote: > Sometimes, when you least expect it, a static binary is what you need to > rescue your data... Or just get a good enough handle on things to make > it work again ;) > > "make static" is a gift to you, dear user with filesystem problems! Wh

Re: Fwd: Current State of BTRFS

2013-02-09 Thread Florian Hofmann
(Sadly) No SSD. I just upgraded from kernel version 3.7.5 to 3.7.6 (running Arch Linux) with no change in behavior. 2013/2/9 Marc MERLIN : > On Fri, Feb 08, 2013 at 10:30:04PM +0100, Florian Hofmann wrote: >> Hi everybody, >> >> I am using btrfs as my main fs for some time now, but I am >> experi

Re: Fwd: Current State of BTRFS

2013-02-09 Thread Marc MERLIN
On Fri, Feb 08, 2013 at 10:30:04PM +0100, Florian Hofmann wrote: > Hi everybody, > > I am using btrfs as my main fs for some time now, but I am > experiencing severe performance drawbacks. I can't qualify the > circumstances, but sometimes during disc access the whole system > freezes for some tim