linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Holger Hoffstätte" <holger.hoffstaette@googlemail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v3 0/9] Btrfs: free space B-tree
Date: Mon, 14 Sep 2015 16:51:48 +0200	[thread overview]
Message-ID: <55F6DF04.8040700@googlemail.com> (raw)
In-Reply-To: <cover.1442209006.git.osandov@osandov.com>

On 09/14/15 08:04, Omar Sandoval wrote:
> I went back and fixed the issues that came up since v2. Changes below. I
> removed Josef's Reviewed-by on patch 9 because it was completely
> rewritten to change the mount options like Dave suggested. These are
> still based on 4.2

I decided to take one for the team and try this.

Merging it into my custom 4.1++ tree (with btrfs at ~4.3) worked flawlessly,
just as the -progs bits. \o/

Upgrading existing filesystems works fine and performance on my peasant
systems with SATA SSDs and rust is still good; not worse but also not
noticeably better. Maybe it is and I just didn't notice; otherwise I guess
that's good for a cache which is not really supposed to be noticeable. :)

Unmounting, remounting, btrfs check all also seem to work as expected.

Two questions:

1) I believe the previous postings mentioned that the fst inherits the
metadata properties - does this mean that e.g. on a single rotational
disk with data=single,metadata=dup the fst is also dup? Is this good,
bad, intentional? I guess it might prevent some of the problems with
corrupted v1 caches that some people had.

2) the following:

> - Changed the free_space_tree option to space_cache=v2 and made clear_cache
>   clear the free space tree. If the free space tree has been created,
>   the mount will fail unless space_cache=v2 or nospace_cache,clear_cache
>   is given because we cannot allow the free space tree to get out of
>   date.

also all seem to work in my testing (wrt. the clearing/downgrading to v1),
but once a volume has been upgraded to v2 fst, a simple mount does not need
to specify space_cache=v2 again; it seems to stick until cleared/downgraded.
Not sure if that is what you meant to say.

Long story short: +1 excellent job and:
Tested-by: Holger Hoffstätte <holger.hoffstaette@googlemail.com>

cheers!

Holger


  parent reply	other threads:[~2015-09-14 14:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14  6:04 [PATCH v3 0/9] Btrfs: free space B-tree Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 1/9] Btrfs: add extent buffer bitmap operations Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 2/9] Btrfs: add extent buffer bitmap sanity tests Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 3/9] Btrfs: add helpers for read-only compat bits Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 4/9] Btrfs: refactor caching_thread() Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 5/9] Btrfs: introduce the free space B-tree on-disk format Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 6/9] Btrfs: implement the free space B-tree Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 7/9] Btrfs: add free space tree sanity tests Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 8/9] Btrfs: wire up the free space tree to the extent tree Omar Sandoval
2015-09-14  6:04 ` [PATCH v3 9/9] Btrfs: add free space tree mount option Omar Sandoval
2015-09-14  6:08 ` [PATCH v3 1/3] btrfs-progs: use calloc instead of malloc+memset for tree roots Omar Sandoval
2015-09-14  6:08   ` [PATCH v3 2/3] btrfs-progs: add basic awareness of the free space tree Omar Sandoval
2015-09-14  6:08   ` [PATCH v3 3/3] btrfs-progs: check the free space tree in btrfsck Omar Sandoval
2015-09-14 20:05   ` [PATCH v3 1/3] btrfs-progs: use calloc instead of malloc+memset for tree roots David Sterba
2015-09-14 14:51 ` Holger Hoffstätte [this message]
2015-09-15  2:56   ` [PATCH v3 0/9] Btrfs: free space B-tree Omar Sandoval
2015-09-14 15:18 ` Austin S Hemmelgarn
2015-09-15  2:56   ` Omar Sandoval

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55F6DF04.8040700@googlemail.com \
    --to=holger.hoffstaette@googlemail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).