btrfs kernel threads producing high load and slow system down

2012-11-03 Thread Florian Lindner
Hello, I habe the problems described in here https://btrfs.wiki.kernel.org/index.php/Gotchas: Files with a lot of random writes can become heavily fragmented (1+ extents) causing trashing on HDDs and excessive multi-second spikes of CPU load on systems with an SSD or large amount a RAM. On

[PATCH 13/16] fs/btrfs: use WARN

2012-11-03 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Use WARN rather than printk followed by WARN_ON(1), for conciseness. A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression list es; @@ -printk( +WARN(1, es);

Re: [PATCH][BTRFS-PROGS] Enhance btrfs fi df

2012-11-03 Thread Goffredo Baroncelli
On 11/02/2012 08:05 PM, Gabriel wrote: On Fri, 02 Nov 2012 13:02:32 +0100, Goffredo Baroncelli wrote: On 2012-11-02 12:18, Martin Steigerwald wrote: [...] We could use Chunk(s) capacity instead of total/size ? I would like an opinion from a english people point of view.. This is easy to

Re: [PATCH][BTRFS-PROGS] Enhance btrfs fi df

2012-11-03 Thread Goffredo Baroncelli
On 11/03/2012 12:44 AM, Hugo Mills wrote: 1 MiB stored in RAID-5 across 3 devices takes up 1.5 MiB -- multiplier ×1.5 (1 MiB over 2 devices is 512 KiB, plus an additional 512 KiB for parity) 1 MiB stored in RAID-5 across 6 devices takes up 1.2 MiB -- multipler ×1.2 (1 MiB over 5 devices

Re: [PATCH][BTRFS-PROGS] Enhance btrfs fi df

2012-11-03 Thread Goffredo Baroncelli
On 11/02/2012 11:06 PM, Hugo Mills wrote: non-integer with the RAID-5/6 code (which is due Real Soon Now). Hi Hugo, do you have more information about raid ? When it will land on the btrfs earth ? :-) -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5

[PATCH 1/8] fs/btrfs: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // /smpl

Re: [PATCH] Add btrfs-show-super

2012-11-03 Thread Alex Lyakas
Hi Goffredo, do you think it could be useful to add an optional argument like bytenr, which tells where to read the superblock from? For example, btrfs-convert first places the superblock on some block unused by ext2, and only at the end it migrates the superblock to the standard location. Not

Re: [PATCH][BTRFS-PROGS] Enhance btrfs fi df

2012-11-03 Thread cwillu
do you have more information about raid ? When it will land on the btrfs earth ? :-) An unnamed source recently said today I'm fixing parity rebuild in the middle of a read/modify/write. its one of my last blockers, at which point several gags about progress meters were made. -- To unsubscribe