btrfs-progs: integration branch for 2011-07-03 now out

2011-07-03 Thread Hugo Mills
I've just updated the integration branch with additional patches from Andreas Philipp and the patch from Hubert Kario that I forgot to include last time. Available from: http://git.darksatanic.net/repo/btrfs-progs-unstable.git/ integration-20110703 Hugo. Andreas Philipp (5):

Re: Memory leak?

2011-07-03 Thread cwillu
On Sun, Jul 3, 2011 at 1:09 PM, Stephane Chazelas wrote: > Hiya, > > I've got a server using brtfs to implement a backup system. > Basically, every night, for a few machines, I rsync (and other > methods) their file systems into one btrfs subvolume each and > then snapshot it. > > On that server,

[PATCH] remove unused include "version.h"

2011-07-03 Thread Andreas Philipp
In the file btrfs-list.c version.h was included but not used. So just drop it. Signed-off-by: Andreas Philipp --- btrfs-list.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/btrfs-list.c b/btrfs-list.c index f804dfc..1495dae 100644 --- a/btrfs-list.c +++ b/btrfs-list.c

Re: [PATCH 2/3] add btrfs-list.o as a seperate target

2011-07-03 Thread Andreas Philipp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please ignore this patch. I found a more elegant solution just right now. Thanks, Andreas On 03.07.2011 20:43, Hugo Mills wrote: > On Sat, Jul 02, 2011 at 12:44:37AM +0200, Andreas Philipp wrote: >> By adding btrfs-list.o as a seperate target which

Memory leak?

2011-07-03 Thread Stephane Chazelas
Hiya, I've got a server using brtfs to implement a backup system. Basically, every night, for a few machines, I rsync (and other methods) their file systems into one btrfs subvolume each and then snapshot it. On that server, the btrfs fs is on 3 3TB drives, mounted with compress-force. Every week

Re: [PATCH 3/3] some style/layout changes

2011-07-03 Thread Hugo Mills
On Sat, Jul 02, 2011 at 12:44:38AM +0200, Andreas Philipp wrote: > Just do a few simple style/layout changes to make the makefile look > better. > > Signed-off-by: Andreas Philipp > --- > Makefile | 18 -- > 1 files changed, 8 insertions(+), 10 deletions(-) > > diff --git a/Ma

Re: [PATCH 1/3] add all targets to clean target

2011-07-03 Thread Hugo Mills
On Sat, Jul 02, 2011 at 12:44:36AM +0200, Andreas Philipp wrote: > When issuing 'make clean' not all files generated by the individual > targets have been deleted since some files have been missing in the > definition of the 'make clean' target. > > Signed-off-by: Andreas Philipp > --- > Makefil

Re: [PATCH 2/3] add btrfs-list.o as a seperate target

2011-07-03 Thread Hugo Mills
On Sat, Jul 02, 2011 at 12:44:37AM +0200, Andreas Philipp wrote: > By adding btrfs-list.o as a seperate target which depends additionally separate > on version we can fix the following build error when invoking 'make > btrfs'. > > btrfs-list.c:37:21: error: version.h

Fwd: TRIM support

2011-07-03 Thread Leonidas Spyropoulos
On Sun, Jul 3, 2011 at 3:54 PM, Hubert Kario wrote: > On Sunday 03 of July 2011 14:56:40 Leonidas Spyropoulos wrote: >> On Sun, Jul 3, 2011 at 1:20 PM, Hubert Kario wrote: >> > On Sunday 03 of July 2011 00:40:46 Leonidas Spyropoulos wrote: >> >> On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoul

Re: TRIM support

2011-07-03 Thread Hubert Kario
On Sunday 03 of July 2011 14:56:40 Leonidas Spyropoulos wrote: > On Sun, Jul 3, 2011 at 1:20 PM, Hubert Kario wrote: > > On Sunday 03 of July 2011 00:40:46 Leonidas Spyropoulos wrote: > >> On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoulos > >> > >> wrote: > >> > On Sat, Jul 2, 2011 at 8:45 P

Re: TRIM support

2011-07-03 Thread Leonidas Spyropoulos
On Sun, Jul 3, 2011 at 1:20 PM, Hubert Kario wrote: > On Sunday 03 of July 2011 00:40:46 Leonidas Spyropoulos wrote: >> On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoulos >> >> wrote: >> > On Sat, Jul 2, 2011 at 8:45 PM, Calvin Walton > wrote: >> >> On Sat, 2011-07-02 at 19:08 +0100, Leonidas

Re: TRIM support

2011-07-03 Thread Hubert Kario
On Sunday 03 of July 2011 00:40:46 Leonidas Spyropoulos wrote: > On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoulos > > wrote: > > On Sat, Jul 2, 2011 at 8:45 PM, Calvin Walton wrote: > >> On Sat, 2011-07-02 at 19:08 +0100, Leonidas Spyropoulos wrote: > >>> Hello, > >>> > >>> I just install

Re: will mkfs.btrfs do an initial pre-discard for SSDs like mke2fs does for Ext4?

2011-07-03 Thread Fajar A. Nugraha
On Sun, Jul 3, 2011 at 6:00 PM, Werner Fischer wrote: > Hi all, > > are there any plans that future versions of mkfs.btrfs will do an > initial pre-discard for SSDs? (AFAIK mkfs.btrfs does not do this > currently) It should already have it. That is, if you look in the right place commit e6bd18d8

will mkfs.btrfs do an initial pre-discard for SSDs like mke2fs does for Ext4?

2011-07-03 Thread Werner Fischer
Hi all, are there any plans that future versions of mkfs.btrfs will do an initial pre-discard for SSDs? (AFAIK mkfs.btrfs does not do this currently) For Ext4, mke2fs does this with the -E discard option. >From the mke2fs manpage: -E discard Attempt to discard blocks at mkfs time (discardin

Re: parent transid verify failures on 2.6.39

2011-07-03 Thread Skylar
Craig Johnson gmail.com> writes: > > I can wait a couple of days for the new tool - glad to know that there > is still hope. If the new btrfsck isn't available within a week or so > I might hit you up for that patch. Thanks! > > - Craig > > On Wed, May 25, 2011 at 2:28 PM, Josef Bacik redha