All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Question: btrfs-progs releases?
@ 2013-08-17  3:19 Tom Gundersen
  0 siblings, 0 replies; 6+ messages in thread
From: Tom Gundersen @ 2013-08-17  3:19 UTC (permalink / raw
  To: linux-btrfs; +Cc: Chris Mason

Hi guys,

I package btrfs-progs for Arch Linux, and I'm wondering about its
current status.

I have seen repeated talk of making regular releases, but so far we
haven't had a proper release since v19 four years ago.

Are we to take from this that btrfs-progs is not suitable for
distribution yet, and if so, would we be better off not shipping it at
all? Or are there other reasons releases are not made?

I get frequent requests for shipping new git snapshots, but I'd rather
not ship something that upstream does not deem ready for release.

Any guidance would be greatly appreciated.

Cheers,

Tom

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

* Re: Question: btrfs-progs releases?
       [not found] <CAG-2HqVFdRjnK1LHnLDPm8frw1MtG2k44N=n4hhdv9kpdf4VoQ@mail.gmail. com>
@ 2013-08-17  5:02 ` Duncan
  2013-08-17 11:59   ` Chris Mason
  0 siblings, 1 reply; 6+ messages in thread
From: Duncan @ 2013-08-17  5:02 UTC (permalink / raw
  To: linux-btrfs

Tom Gundersen posted on Sat, 17 Aug 2013 11:19:19 +0800 as excerpted:

> I package btrfs-progs for Arch Linux, and I'm wondering about its
> current status.
> 
> I have seen repeated talk of making regular releases, but so far we
> haven't had a proper release since v19 four years ago.
> 
> Are we to take from this that btrfs-progs is not suitable for
> distribution yet, and if so, would we be better off not shipping it at
> all? Or are there other reasons releases are not made?
> 
> I get frequent requests for shipping new git snapshots, but I'd rather
> not ship something that upstream does not deem ready for release.

Most of the following can be found on the btrfs wiki, at:

https://btrfs.wiki.kernel.org/

Well, both btrfs kernel code and btrfs-progs remain officially under 
heavy development, and bugs continue to be fixed with every release, so 
people who do choose to run it are *STRONGLY* encouraged both to keep 
their backups current (even more so than one would do with a stable 
filesystem), and to run at LEAST latest stable kernel if not the rcs, as 
well as to read the wiki and keep up with this list so they know what's 
going on with the filesystem they've chosen to test.

(FWIW, here, I run linus kernel git, but normally try to switch over 
about rc2 or 3, sticking to the previous version until then.)

Most distros who make btrfs available are packaging btrfs-progs git 
snapshots, because the same general theme applies to btrfs-progs -- bugs 
are REGULARLY being fixed, and if you're running old code, you really ARE 
taking unnecessary risks (in addition to any bug reports not being as 
helpful because you're running stale code).

That said, btrfs used as a traditional filesystem is the most mature and 
has been more or less stable (for an experimental filesystem) for some 
time now, with btrfs raid0/1/10 modes newer but now reasonably stable as 
well. (I'm running btrfs raid1 mode here, but with backups both to a 
second btrfs instance and to reiserfs, my former filesystem of choice, 
which has proven VERY stable and reliable for me, but isn't a good match 
for SSDs.)

But the new (kernel 3.10) btrfs raid5/6 code isn't usable except for pure 
testing ATM, as the code writes the raid checksums but does not yet know 
how to use them in case of device failure (someone in another thread just 
reported it segfaulting on device removal), so it works in all-OK mode 
only.  Personally, I wouldn't put my data on that (even with backups) at 
least for another couple kernels, and probably until about this time next 
year.

Meanwhile, btrfs-progs 0.20-rc1 has been out for awhile, and 0.19 is 
QUITE old now, so anything that's not at LEAST 0.20-rc1 is VERY dated 
these days... to the point I'd be seriously worried about it making 
problems worse instead of better!


-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


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

* Re: Question: btrfs-progs releases?
  2013-08-17  5:02 ` Duncan
@ 2013-08-17 11:59   ` Chris Mason
  2013-08-18  3:25     ` Tom Gundersen
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Mason @ 2013-08-17 11:59 UTC (permalink / raw
  To: Duncan, linux-btrfs

Quoting Duncan (2013-08-17 01:02:45)
> Tom Gundersen posted on Sat, 17 Aug 2013 11:19:19 +0800 as excerpted:
> 
> > I package btrfs-progs for Arch Linux, and I'm wondering about its
> > current status.
> > 
> > I have seen repeated talk of making regular releases, but so far we
> > haven't had a proper release since v19 four years ago.
> > 
> > Are we to take from this that btrfs-progs is not suitable for
> > distribution yet, and if so, would we be better off not shipping it at
> > all? Or are there other reasons releases are not made?
> > 
> > I get frequent requests for shipping new git snapshots, but I'd rather
> > not ship something that upstream does not deem ready for release.

The problem with the progs release is I keep finding more things I want
to add.  My local git tree has about a dozen commits that I feel are
important enough for v1.0.  I just have to cut it, the distros and
others are completely correct in asking for an official release.

In terms of the quality of the commits, I only put things into the
master branch of the git tree that I have fully confidence in.

> 
> Most of the following can be found on the btrfs wiki, at:
> 
> https://btrfs.wiki.kernel.org/
> 
> Well, both btrfs kernel code and btrfs-progs remain officially under 
> heavy development, and bugs continue to be fixed with every release, so 
> people who do choose to run it are *STRONGLY* encouraged both to keep 
> their backups current (even more so than one would do with a stable 
> filesystem), and to run at LEAST latest stable kernel if not the rcs, as 
> well as to read the wiki and keep up with this list so they know what's 
> going on with the filesystem they've chosen to test.
> 
> (FWIW, here, I run linus kernel git, but normally try to switch over 
> about rc2 or 3, sticking to the previous version until then.)

> 
> Most distros who make btrfs available are packaging btrfs-progs git 
> snapshots, because the same general theme applies to btrfs-progs -- bugs 
> are REGULARLY being fixed, and if you're running old code, you really ARE 
> taking unnecessary risks (in addition to any bug reports not being as 
> helpful because you're running stale code).
> 
> That said, btrfs used as a traditional filesystem is the most mature and 
> has been more or less stable (for an experimental filesystem) for some 
> time now, with btrfs raid0/1/10 modes newer but now reasonably stable as 
> well. (I'm running btrfs raid1 mode here, but with backups both to a 
> second btrfs instance and to reiserfs, my former filesystem of choice, 
> which has proven VERY stable and reliable for me, but isn't a good match 
> for SSDs.)
> 
> But the new (kernel 3.10) btrfs raid5/6 code isn't usable except for pure 
> testing ATM, as the code writes the raid checksums but does not yet know 
> how to use them in case of device failure (someone in another thread just 
> reported it segfaulting on device removal), so it works in all-OK mode 
> only.  Personally, I wouldn't put my data on that (even with backups) at 
> least for another couple kernels, and probably until about this time next 
> year.

This isn't entirely true, the raid5/6 code does use the checksums for
rebuild in the kernel and it can handle devices going away (I'm looking
into the report on the list).

The missing part of the raid5/6 code is keeping parity in sync after a
crash.  Any blocks in flight during a crash may or may not have parity
matching the blocks, and they need to be re-written when the box comes
up for the parity to be useful.  The data/metadata itself is protected
by the COW system, its just the parity that needs extra work.

-chris


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

* Re: Question: btrfs-progs releases?
  2013-08-17 11:59   ` Chris Mason
@ 2013-08-18  3:25     ` Tom Gundersen
  2013-08-18  3:50       ` Eric Sandeen
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Gundersen @ 2013-08-18  3:25 UTC (permalink / raw
  To: Chris Mason; +Cc: Duncan, linux-btrfs

On Sat, Aug 17, 2013 at 7:59 PM, Chris Mason <chris.mason@fusionio.com> wrote:
> The problem with the progs release is I keep finding more things I want
> to add.  My local git tree has about a dozen commits that I feel are
> important enough for v1.0.  I just have to cut it, the distros and
> others are completely correct in asking for an official release.

I know this feeling too well.

In order to just "get something out", it might make sense to just do
some time-based releases every now and again (and maybe call them 0.X,
rather than 1.0 until you are happy). Even the occasional (maybe after
each kernel release) git tag (without actually creating tarballs etc)
would be very helpful, as at least we would have a common reference
point for bug reports and similar (and after all, numbers are cheap
;-)).

>From your point of view, having frequent releases will also (I
suppose) be helpful as it will make sure your users/testers are using
the most recent version (at least in Arch, whatever you tag we will
ship within a few days) and hence you won't have to ask them to
rebuild from git to make sure the bug hasn't already been fixed.

> In terms of the quality of the commits, I only put things into the
> master branch of the git tree that I have fully confidence in.

Thanks for the info Chris, this is useful to know. I'll keep pushing
git snapshots then (but as I said, tags would be better).

-t

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

* Re: Question: btrfs-progs releases?
  2013-08-18  3:25     ` Tom Gundersen
@ 2013-08-18  3:50       ` Eric Sandeen
  2013-08-20  0:50         ` Chris Mason
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Sandeen @ 2013-08-18  3:50 UTC (permalink / raw
  To: Tom Gundersen; +Cc: Chris Mason, Duncan, linux-btrfs

On 8/17/13 10:25 PM, Tom Gundersen wrote:
> On Sat, Aug 17, 2013 at 7:59 PM, Chris Mason <chris.mason@fusionio.com> wrote:
>> The problem with the progs release is I keep finding more things I want
>> to add.  My local git tree has about a dozen commits that I feel are
>> important enough for v1.0.  I just have to cut it, the distros and
>> others are completely correct in asking for an official release.
> 
> I know this feeling too well.
> 
> In order to just "get something out", it might make sense to just do
> some time-based releases every now and again (and maybe call them 0.X,
> rather than 1.0 until you are happy). Even the occasional (maybe after
> each kernel release) git tag (without actually creating tarballs etc)
> would be very helpful, as at least we would have a common reference
> point for bug reports and similar (and after all, numbers are cheap
> ;-)).
> 
> From your point of view, having frequent releases will also (I
> suppose) be helpful as it will make sure your users/testers are using
> the most recent version (at least in Arch, whatever you tag we will
> ship within a few days) and hence you won't have to ask them to
> rebuild from git to make sure the bug hasn't already been fixed.
> 
>> In terms of the quality of the commits, I only put things into the
>> master branch of the git tree that I have fully confidence in.
> 
> Thanks for the info Chris, this is useful to know. I'll keep pushing
> git snapshots then (but as I said, tags would be better).

>From my perspective, I don't want to push git snapshots; I'll fix one bug
and add another.

We desperately need btrfs-progs stabilization and release.

-Eric

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

* Re: Question: btrfs-progs releases?
  2013-08-18  3:50       ` Eric Sandeen
@ 2013-08-20  0:50         ` Chris Mason
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Mason @ 2013-08-20  0:50 UTC (permalink / raw
  To: Eric Sandeen, Tom Gundersen; +Cc: Duncan, linux-btrfs

Quoting Eric Sandeen (2013-08-17 23:50:51)
> On 8/17/13 10:25 PM, Tom Gundersen wrote:
> > On Sat, Aug 17, 2013 at 7:59 PM, Chris Mason <chris.mason@fusionio.com> wrote:
> >> The problem with the progs release is I keep finding more things I want
> >> to add.  My local git tree has about a dozen commits that I feel are
> >> important enough for v1.0.  I just have to cut it, the distros and
> >> others are completely correct in asking for an official release.
> > 
> > I know this feeling too well.
> > 
> > In order to just "get something out", it might make sense to just do
> > some time-based releases every now and again (and maybe call them 0.X,
> > rather than 1.0 until you are happy). Even the occasional (maybe after
> > each kernel release) git tag (without actually creating tarballs etc)
> > would be very helpful, as at least we would have a common reference
> > point for bug reports and similar (and after all, numbers are cheap
> > ;-)).
> > 
> > From your point of view, having frequent releases will also (I
> > suppose) be helpful as it will make sure your users/testers are using
> > the most recent version (at least in Arch, whatever you tag we will
> > ship within a few days) and hence you won't have to ask them to
> > rebuild from git to make sure the bug hasn't already been fixed.
> > 
> >> In terms of the quality of the commits, I only put things into the
> >> master branch of the git tree that I have fully confidence in.
> > 
> > Thanks for the info Chris, this is useful to know. I'll keep pushing
> > git snapshots then (but as I said, tags would be better).
> 
> From my perspective, I don't want to push git snapshots; I'll fix one bug
> and add another.
> 
> We desperately need btrfs-progs stabilization and release.

Understood Eric, thanks for all your help so far.

-chris


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

end of thread, other threads:[~2013-08-20  0:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-17  3:19 Question: btrfs-progs releases? Tom Gundersen
     [not found] <CAG-2HqVFdRjnK1LHnLDPm8frw1MtG2k44N=n4hhdv9kpdf4VoQ@mail.gmail. com>
2013-08-17  5:02 ` Duncan
2013-08-17 11:59   ` Chris Mason
2013-08-18  3:25     ` Tom Gundersen
2013-08-18  3:50       ` Eric Sandeen
2013-08-20  0:50         ` Chris Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.