linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Btrfs progs pre-release 4.4-rc1
@ 2016-01-14 12:47 David Sterba
  2016-01-14 13:48 ` Holger Hoffstätte
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Sterba @ 2016-01-14 12:47 UTC (permalink / raw)
  To: linux-btrfs; +Cc: clm

Hi,

the btrfs-progs 4.4-rc1 has been tagged. This is a heads-up before the release
(ETA tmorrow). Please give it some testing.

I'll write a more detailed changelog for 4.4, but here are some notable changes:

* manual pages enhanced (btrfs, mkfs, mount, filesystem, balance)
* mkfs.btrfs --data dup
* new/enhanced balance filters (kernel 4.4+):
  * limit=min..max
  * stripes=min..max
  * usage=min..max
* free space tree (aka space_cache=v2, kernel 4.5+)
* fix: fi usage and mixed block groups
* debug-tree: -t understands chunk tree (3) and tree root (1)

Minor bugfixes are still accepted, the rest will go to the next development
cycle.

Tarballs: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
Git: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Btrfs progs pre-release 4.4-rc1
  2016-01-14 12:47 Btrfs progs pre-release 4.4-rc1 David Sterba
@ 2016-01-14 13:48 ` Holger Hoffstätte
  2016-01-15 12:54   ` David Sterba
  2016-01-14 14:41 ` Noah Massey
  2016-01-15 17:54 ` David Sterba
  2 siblings, 1 reply; 6+ messages in thread
From: Holger Hoffstätte @ 2016-01-14 13:48 UTC (permalink / raw)
  To: dsterba, linux-btrfs, clm

On 01/14/16 13:47, David Sterba wrote:
[..]
> * free space tree (aka space_cache=v2, kernel 4.5+)

I'd like to suggest to maybe add a BIG WARNING to the release notes that
enabling the fst will currently prevent btrfsck from fixing a filesystem,
due to the incompatible feature flag.

-h


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Btrfs progs pre-release 4.4-rc1
  2016-01-14 12:47 Btrfs progs pre-release 4.4-rc1 David Sterba
  2016-01-14 13:48 ` Holger Hoffstätte
@ 2016-01-14 14:41 ` Noah Massey
  2016-01-15 12:43   ` Static build fixed (Was: " David Sterba
  2016-01-15 17:54 ` David Sterba
  2 siblings, 1 reply; 6+ messages in thread
From: Noah Massey @ 2016-01-14 14:41 UTC (permalink / raw)
  To: David Sterba, linux-btrfs, clm

On Thu, Jan 14, 2016 at 7:47 AM, David Sterba <dsterba@suse.cz> wrote:
> Hi,
>
> the btrfs-progs 4.4-rc1 has been tagged. This is a heads-up before the release
> (ETA tmorrow). Please give it some testing.

$ ./autogen.sh && ./configure && make static

Generate build-system by:
   aclocal:    aclocal (GNU automake) 1.15
   autoconf:   autoconf (GNU Autoconf) 2.69
   autoheader: autoheader (GNU Autoconf) 2.69
   automake:   automake (GNU automake) 1.15

....
    [LD]     btrfs.static
help.static.o: In function `usage_command':
/usr/local/src/btrfs-progs/help.c:120: multiple definition of `usage_command'
help.static.o:/usr/local/src/btrfs-progs/help.c:120: first defined here
help.static.o: In function `usage':
help.c:(.text.usage+0x0): multiple definition of `usage'
help.static.o:help.c:(.text.usage+0x0): first defined here
help.static.o: In function `usage_command_group_short':
help.c:(.text.usage_command_group_short+0x0): multiple definition of
`usage_command_group_short'
help.static.o:help.c:(.text.usage_command_group_short+0x0): first defined here
help.static.o: In function `usage_command_group':
help.c:(.text.usage_command_group+0x0): multiple definition of
`usage_command_group'
help.static.o:help.c:(.text.usage_command_group+0x0): first defined here
help.static.o: In function `help_unknown_token':
help.c:(.text.help_unknown_token+0x0): multiple definition of
`help_unknown_token'
help.static.o:help.c:(.text.help_unknown_token+0x0): first defined here
help.static.o: In function `help_command_group':
help.c:(.text.help_command_group+0x0): multiple definition of
`help_command_group'
help.static.o:help.c:(.text.help_command_group+0x0): first defined here
help.static.o: In function `prefixcmp':
help.c:(.text.prefixcmp+0x0): multiple definition of `prefixcmp'
help.static.o:help.c:(.text.prefixcmp+0x0): first defined here
help.static.o: In function `help_ambiguous_token':
help.c:(.text.help_ambiguous_token+0x0): multiple definition of
`help_ambiguous_token'
help.static.o:help.c:(.text.help_ambiguous_token+0x0): first defined here
collect2: error: ld returned 1 exit status
Makefile:269: recipe for target 'btrfs.static' failed
make: *** [btrfs.static] Error 1


git bisect blames  a6cc8ea10ad84e4b7d1303ed048e644f0dd7ae04

~ Noah

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Static build fixed (Was: Re: Btrfs progs pre-release 4.4-rc1
  2016-01-14 14:41 ` Noah Massey
@ 2016-01-15 12:43   ` David Sterba
  0 siblings, 0 replies; 6+ messages in thread
From: David Sterba @ 2016-01-15 12:43 UTC (permalink / raw)
  To: Noah Massey; +Cc: David Sterba, linux-btrfs, clm

On Thu, Jan 14, 2016 at 09:41:58AM -0500, Noah Massey wrote:
>     [LD]     btrfs.static
> help.static.o: In function `usage_command':
> /usr/local/src/btrfs-progs/help.c:120: multiple definition of `usage_command'
> help.static.o:/usr/local/src/btrfs-progs/help.c:120: first defined here
...
> 
> git bisect blames  a6cc8ea10ad84e4b7d1303ed048e644f0dd7ae04

Thanks, I'm committing the following patch as you found the fix faster.

---
commit 1bb0bba1b625eec1bd288699f10c8855034daef1
Author: Noah Massey <noah.massey@gmail.com>
Date:   Fri Jan 15 13:31:01 2016 +0100

    btrfs-progs: fix static build

    Change in "btrfs-progs: introduce helper for parsing args without
    options" added a dependency on help.o that was duplicated for the static
    build.

    Signed-off-by: Noah Massey <noah.massey@gmail.com>
    Signed-off-by: David Sterba <dsterba@suse.com>

diff --git a/Makefile.in b/Makefile.in
index 1bd497aca469..19697ffaf0bf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -265,9 +265,9 @@ btrfs: $(objects) btrfs.o $(cmds_objects) $(libs_static)
        $(Q)$(CC) $(CFLAGS) -o btrfs btrfs.o $(cmds_objects) \
                $(objects) $(libs_static) $(LDFLAGS) $(LIBS)

-btrfs.static: $(static_objects) btrfs.static.o help.static.o $(static_cmds_objects) $(static_libbtrfs_objects)
+btrfs.static: $(static_objects) btrfs.static.o $(static_cmds_objects) $(static_libbtrfs_objects)
        @echo "    [LD]     $@"
-       $(Q)$(CC) $(STATIC_CFLAGS) -o btrfs.static btrfs.static.o help.static.o $(static_cmds_objects) \
+       $(Q)$(CC) $(STATIC_CFLAGS) -o btrfs.static btrfs.static.o $(static_cmds_objects) \
                $(static_objects) $(static_libbtrfs_objects) $(STATIC_LDFLAGS) $(STATIC_LIBS)

 # For backward compatibility, 'btrfs' changes behaviour to fsck if it's named 'btrfsck'

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: Btrfs progs pre-release 4.4-rc1
  2016-01-14 13:48 ` Holger Hoffstätte
@ 2016-01-15 12:54   ` David Sterba
  0 siblings, 0 replies; 6+ messages in thread
From: David Sterba @ 2016-01-15 12:54 UTC (permalink / raw)
  To: Holger Hoffstätte; +Cc: dsterba, linux-btrfs, clm

On Thu, Jan 14, 2016 at 02:48:36PM +0100, Holger Hoffstätte wrote:
> On 01/14/16 13:47, David Sterba wrote:
> [..]
> > * free space tree (aka space_cache=v2, kernel 4.5+)
> 
> I'd like to suggest to maybe add a BIG WARNING to the release notes that
> enabling the fst will currently prevent btrfsck from fixing a filesystem,
> due to the incompatible feature flag.

Thanks for the notice.  As the free-space-tree patches are not in any
released kernel, this should affect only developers. Btrfs-progs 4.5
is supposed to work with f-s-t.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Btrfs progs pre-release 4.4-rc1
  2016-01-14 12:47 Btrfs progs pre-release 4.4-rc1 David Sterba
  2016-01-14 13:48 ` Holger Hoffstätte
  2016-01-14 14:41 ` Noah Massey
@ 2016-01-15 17:54 ` David Sterba
  2 siblings, 0 replies; 6+ messages in thread
From: David Sterba @ 2016-01-15 17:54 UTC (permalink / raw)
  To: David Sterba; +Cc: linux-btrfs, clm

On Thu, Jan 14, 2016 at 01:47:48PM +0100, David Sterba wrote:
> the btrfs-progs 4.4-rc1 has been tagged. This is a heads-up before the release
> (ETA tmorrow). Please give it some testing.

4.4 release will be delayed, new ETA is Sunday.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-15 17:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 12:47 Btrfs progs pre-release 4.4-rc1 David Sterba
2016-01-14 13:48 ` Holger Hoffstätte
2016-01-15 12:54   ` David Sterba
2016-01-14 14:41 ` Noah Massey
2016-01-15 12:43   ` Static build fixed (Was: " David Sterba
2016-01-15 17:54 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).