Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread David Nicol
Does this mixing constitute a forbidden change of on-disk format, and if not how not? On Wed, Oct 20, 2010 at 11:21 PM, Mitch Harder mitch.har...@sabayonlinux.org wrote: Other than that, it seemed to perform well.  I did not encounter any stability issues as long as I was using a patched

csum errors, and resizing...

2010-10-21 Thread Hugo Mills
Just encountered an interesting issue. Rapid summary: when a resize encounters a file with broken checksums, it stops, and will not (apparently) proceed any further. Un/remount seems to clear the error condition. I've got a filesystem with some (lots of) checksum errors on it. It lives

kernel bug during balancing in raid0

2010-10-21 Thread dont
Hi, this is my first ever mail for a mailing list!! This is exciting!! Anyways, this is the scenario: I have four 1TB drives that I've strapped together with the help of btrfs using its built in RAID0. The second and third drives that I added and subsequently balanced it with: btrfs-vol -b

[patch v2 0/4] Size reporting in userspace tools

2010-10-21 Thread Hugo Mills
While playing around with resizing volumes recently, I realised that I didn't know whether btrfs fi show and btrfs fi df reported sizes in ISO (e.g. powers of 10^3) units, as they appear to from the labels they use, or in binary (powers of 2^10) units. Also, a mere three significant figures is

[patch v2 2/4] Add an option to show ISO, binary or raw bytes counts using df.

2010-10-21 Thread Hugo Mills
Change btrfs filesystem df to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c|6 +++--- btrfs_cmds.c | 42 -- man/btrfs.8.in |8 3 files changed, 47

[patch v2 4/4] Add an option to show ISO, binary or raw bytes counts using btrfs-show.

2010-10-21 Thread Hugo Mills
Change btrfs-show to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs-show.c| 27 +++ man/btrfs-show.8.in | 10 -- 2 files changed, 27 insertions(+), 10 deletions(-) Index:

[patch v2 3/4] Add an option to show ISO, binary or raw bytes counts using show.

2010-10-21 Thread Hugo Mills
Change btrfs filesystem show to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c|2 +- btrfs_cmds.c | 45 ++--- man/btrfs.8.in | 10 ++ 3 files changed, 49

[patch v2 1/4] Update pretty-printer for different systems of counting multiples.

2010-10-21 Thread Hugo Mills
Make the pretty-printer for data sizes capable of printing in ISO (powers of 10^3), binary (powers of 2^10) or raw (a simple byte count). Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs-show.c |7 --- btrfs_cmds.c | 13 - mkfs.c |3 ++- utils.c | 48

Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread Mitch Harder
On Thu, Oct 21, 2010 at 5:09 PM, Diego Calleja dieg...@gmail.com wrote: On Jueves, 21 de Octubre de 2010 17:46:58 David Nicol escribió: Does this mixing constitute a forbidden change of on-disk format, and if not how not? It doesn't need a format change. The difference between a data and a

Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread Josef Bacik
On Thu, Oct 21, 2010 at 05:21:06PM -0500, Mitch Harder wrote: On Thu, Oct 21, 2010 at 5:09 PM, Diego Calleja dieg...@gmail.com wrote: On Jueves, 21 de Octubre de 2010 17:46:58 David Nicol escribió: Does this mixing constitute a forbidden change of on-disk format, and if not how not? It

Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread C Anthony Risinger
On Thu, Oct 21, 2010 at 8:05 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Oct 21, 2010 at 05:21:06PM -0500, Mitch Harder wrote: On Thu, Oct 21, 2010 at 5:09 PM, Diego Calleja dieg...@gmail.com wrote: On Jueves, 21 de Octubre de 2010 17:46:58 David Nicol escribió: Does this mixing

Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread Josef Bacik
On Thu, Oct 21, 2010 at 08:32:12PM -0500, C Anthony Risinger wrote: On Thu, Oct 21, 2010 at 8:05 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Oct 21, 2010 at 05:21:06PM -0500, Mitch Harder wrote: On Thu, Oct 21, 2010 at 5:09 PM, Diego Calleja dieg...@gmail.com wrote: On Jueves, 21 de

Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread C Anthony Risinger
On Thu, Oct 21, 2010 at 8:37 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Oct 21, 2010 at 08:32:12PM -0500, C Anthony Risinger wrote: On Thu, Oct 21, 2010 at 8:05 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Oct 21, 2010 at 05:21:06PM -0500, Mitch Harder wrote: On Thu, Oct 21, 2010 at