All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilya Dryomov <idryomov@gmail.com>
To: "Jérôme Poulin" <jeromepoulin@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 00/21] Btrfs: restriper
Date: Tue, 14 Feb 2012 16:18:43 +0200	[thread overview]
Message-ID: <20120214141843.GA1987@zambezi.lan> (raw)
In-Reply-To: <CALJXSJpjmb2F=fg_KML_W61gRPfiFH8Drz-H+uukn9d4owdwTg@mail.gmail.com>

On Mon, Feb 13, 2012 at 09:31:09PM -0500, J=C3=A9r=C3=B4me Poulin wrote=
:
> On Fri, Jan 6, 2012 at 9:30 AM, Ilya Dryomov <idryomov@gmail.com> wro=
te:
> > This is a respin of restriper patch series which adds an initial
> > implementation of restriper (it's a clever name for relocation fram=
ework
> > that allows to do selective profile changing and selective balancin=
g
> > with some goodies like pausing/resuming and reporting progress to t=
he
> > user). =C2=A0See userspace cover patch for usage examples.
>=20
> I just tried merging this on my kernel 3.2.1 and it seems to work
> nicely. I compiled your btrfs-progs, made an LVM snapshot and launche=
d
> a balance on my 300 GB filesystem converted from ext4. It worked for
> converting my metadata from single to dup, however, it didn't succeed
> converting my system from single to dup.
>=20
> Here is the command I used:
> root /usr/src/kernel/btrfs-progs # ./btrfs balance start -f -v
> -sconvert=3Ddup -mconvert=3Ddup /mnt/btrfs/
> Dumping filters: flags 0xe, state 0x0, force is on
>   METADATA (flags 0x100): converting, target=3D32, soft is off
>   SYSTEM (flags 0x100): converting, target=3D32, soft is off
> Done, had to relocate 28 out of 220 chunks
>=20
> Then tried:
> root /usr/src/kernel/btrfs-progs # ./btrfs balance start -f -v
> -sconvert=3Ddup /mnt/btrfs/
> Dumping filters: flags 0xa, state 0x0, force is on
>   SYSTEM (flags 0x100): converting, target=3D32, soft is off
> Done, had to relocate 0 out of 239 chunks

Yeah, that's known.  The old balancing code wasn't allowed to relocate
chunk 0 and always skipped it.  I decided to keep that limitation, it
will be lifted (or otherwise fixed) shortly.

Just to be sure, could you please paste the output of
`btrfs-debug-tree -d <your device>' somewhere ?

Thanks,

		Ilya
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-02-14 14:18 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 14:30 [PATCH 00/21] Btrfs: restriper Ilya Dryomov
2012-01-06 14:30 ` [PATCH 01/21] Btrfs: get rid of *_alloc_profile fields Ilya Dryomov
2012-01-06 14:30 ` [PATCH 02/21] Btrfs: introduce masks for chunk type and profile Ilya Dryomov
2012-01-06 14:30 ` [PATCH 03/21] Btrfs: add BTRFS_AVAIL_ALLOC_BIT_SINGLE bit Ilya Dryomov
2012-01-06 14:30 ` [PATCH 04/21] Btrfs: make avail_*_alloc_bits fields dynamic Ilya Dryomov
2012-01-06 14:30 ` [PATCH 05/21] Btrfs: add basic restriper infrastructure Ilya Dryomov
2012-01-06 14:30 ` [PATCH 06/21] Btrfs: add basic infrastructure for selective balancing Ilya Dryomov
2012-01-06 14:30 ` [PATCH 07/21] Btrfs: profiles filter Ilya Dryomov
2012-01-06 14:30 ` [PATCH 08/21] Btrfs: usage filter Ilya Dryomov
2012-01-06 14:30 ` [PATCH 09/21] Btrfs: devid filter Ilya Dryomov
2012-01-06 14:30 ` [PATCH 10/21] Btrfs: devid subset filter Ilya Dryomov
2012-01-06 14:30 ` [PATCH 11/21] Btrfs: virtual address space " Ilya Dryomov
2012-01-06 14:31 ` [PATCH 12/21] Btrfs: do not reduce profile in do_chunk_alloc() Ilya Dryomov
2012-01-06 14:31 ` [PATCH 13/21] Btrfs: implement online profile changing Ilya Dryomov
2012-01-06 14:31 ` [PATCH 14/21] Btrfs: soft profile changing mode (aka soft convert) Ilya Dryomov
2012-01-06 14:31 ` [PATCH 15/21] Btrfs: save balance parameters to disk Ilya Dryomov
2012-01-06 14:31 ` [PATCH 16/21] Btrfs: recover balance on mount Ilya Dryomov
2012-01-12 14:00   ` David Sterba
2012-01-12 14:29     ` Ilya Dryomov
2012-01-06 14:31 ` [PATCH 17/21] Btrfs: add skip_balance mount option Ilya Dryomov
2012-01-06 14:31 ` [PATCH 18/21] Btrfs: allow for pausing restriper Ilya Dryomov
2012-01-06 14:31 ` [PATCH 19/21] Btrfs: allow for cancelling restriper Ilya Dryomov
2012-01-06 14:31 ` [PATCH 20/21] Btrfs: allow for resuming restriper after it was paused Ilya Dryomov
2012-01-06 14:31 ` [PATCH 21/21] Btrfs: add balance progress reporting Ilya Dryomov
2012-01-09  6:50 ` [PATCH 00/21] Btrfs: restriper Marios Titas
2012-01-09 13:44   ` Ilya Dryomov
2012-01-10 18:31     ` Ilya Dryomov
2012-02-14  2:31 ` Jérôme Poulin
2012-02-14 14:18   ` Ilya Dryomov [this message]
2012-02-14 16:15     ` Jérôme Poulin
2012-02-14 16:44       ` Ilya Dryomov

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=20120214141843.GA1987@zambezi.lan \
    --to=idryomov@gmail.com \
    --cc=jeromepoulin@gmail.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 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.