Re: Performance Issues

2014-09-20 Thread Marc Dietrich
Am Freitag, 19. September 2014, 13:51:22 schrieb Holger Hoffstätte: On Fri, 19 Sep 2014 13:18:34 +0100, Rob Spanton wrote: I have a particularly uncomplicated setup (a desktop PC with a hard disk) and I'm seeing particularly slow performance from btrfs. A `git status` in the linux

Re: general thoughts and questions + general and RAID5/6 stability?

2014-09-20 Thread Duncan
William Hanson posted on Fri, 19 Sep 2014 16:50:05 -0400 as excerpted: Hey guys... I was just crawling through the wiki and this list's archive to find answers about some questions. Actually many of them matching those which Christoph has asked here some time ago, though it seems no

Re: Performance Issues

2014-09-20 Thread Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/09/14 09:23, Marc Dietrich wrote: Am Freitag, 19. September 2014, 13:51:22 schrieb Holger Hoffstätte: On Fri, 19 Sep 2014 13:18:34 +0100, Rob Spanton wrote: I have a particularly uncomplicated setup (a desktop PC with a hard disk) and

Using two mirrored drives separately

2014-09-20 Thread Leonid Bloch
Hi, I am wondering: if I set up btrfs on two identical drives, with data and metadata mirroring, will it be possible to use these drives separately later on? Will just one of these drives work as a regular btrfs-formatted single drive if connected to a different machine? Thanks ahead, Leonid. --

Re: Using two mirrored drives separately

2014-09-20 Thread Piotr Szymaniak
On Sat, Sep 20, 2014 at 07:11:52PM +0300, Leonid Bloch wrote: I am wondering: if I set up btrfs on two identical drives, with data and metadata mirroring, will it be possible to use these drives separately later on? Will just one of these drives work as a regular btrfs-formatted single drive

Re: Performance Issues

2014-09-20 Thread Marc Dietrich
Hi, Am Samstag 20 September 2014, 22:04:16 schrieb Wang Shilong: Hi, just my two cents here.^_^ Am Freitag, 19. September 2014, 13:51:22 schrieb Holger Hoffstätte: On Fri, 19 Sep 2014 13:18:34 +0100, Rob Spanton wrote: I have a particularly uncomplicated setup (a desktop PC with a

[PATCH 1/4] Properly cast to avoid compiler warnings, fixes FTBFS on alpha and ia64.

2014-09-20 Thread Dimitri John Ledkov
Bug-Debian: http://bugs.debian.org/539433 Bug-Debian: http://bugs.debian.org/583768 Authors: Luca Bruno lu...@debian.org Alexander Kurtz kurtz.a...@googlemail.com Daniel Baumann daniel.baum...@progress-technologies.net Signed-off-by: Dimitri John Ledkov x...@debian.org --- btrfs-convert.c | 2

[PATCH 3/4] Fixing unaligned memory accesses.

2014-09-20 Thread Dimitri John Ledkov
From: Shawn Landen shawnland...@gmail.com Bug-Debian: http://bugs.debian.org/656955 Signed-off-by: Dimitri John Ledkov x...@debian.org --- ctree.h | 18 ++ volumes.c | 5 +++-- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/ctree.h b/ctree.h index

[PATCH 2/4] Fixes FTBFS with --no-add-needed.

2014-09-20 Thread Dimitri John Ledkov
From: Luk Claes l...@debian.org Bug-Debian: http://bugs.debian.org/554059 Signed-off-by: Dimitri John Ledkov x...@debian.org --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e721e99..441e925 100644 --- a/Makefile +++ b/Makefile @@ -26,7

[PATCH 4/4] Default to acting like fsck.

2014-09-20 Thread Dimitri John Ledkov
Inspect arguments, if we are not called as btrfs, then assume we are called to act like fsck. Bug-Debian: http://bugs.debian.org/712078 Signed-off-by: Dimitri John Ledkov x...@debian.org --- btrfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrfs.c b/btrfs.c index

deleting a dead device

2014-09-20 Thread Russell Coker
On a system running the Debian 3.14.15-2 kernel I added a new drive to a RAID-1 array. My aim was to add a device and remove one of the old devices. Sep 21 11:26:51 server kernel: [2070145.375221] BTRFS: lost page write due to I/O error on /dev/sdc3 Sep 21 11:26:51 server kernel:

device delete progress

2014-09-20 Thread Russell Coker
We need to have a way to determine the progress of a device delete operation. Also for a balance of a RAID-1 that has more than 2 devices it would be good to know how much space is used on each device. Could btrfs fi df be extended to show information separately for each device? -- My Main

Bug on Kernel Bugzilla I Found Today

2014-09-20 Thread nick
Greeting to the Btrfs Developers and Community, Today , I found a new bug on the kernel bugzilla related to btrfs and am wondering if this bug has been fixed yet. Further due to my limited knowledge of the btrfs code base, I lack the knowledge to fix bugs like this yet.In addition, due to this

[PATCH] btrfs: fix ABBA deadlock in btrfs_dev_replace_finishing()

2014-09-20 Thread Eryu Guan
btrfs_map_bio() first calls btrfs_bio_counter_inc_blocked() which checks fs state and increase bio_counter, then calls __btrfs_map_block() which will take the dev_replace lock. On the other hand, btrfs_dev_replace_finishing() takes dev_replace lock first then set fs state to