Re: [PATCH 1/1 linux-next] btrfs: fix sizeof format specifier in btrfs_check_super_valid()

2015-02-22 Thread Geert Uytterhoeven
On Sat, Feb 14, 2015 at 1:10 PM, Fabian Frederick f...@skynet.be wrote: This patch fixes mips compilation warning: Actually it happens on all 32-bit platforms (where size_t is unsigned int). fs/btrfs/disk-io.c: In function 'btrfs_check_super_valid': fs/btrfs/disk-io.c:3927:21: warning: format

Re: Suddenly cannot change metadata profile any longer (BISECTED)

2015-02-22 Thread Holger Hoffstätte
On Mon, 16 Feb 2015 15:18:40 +, Holger Hoffstätte wrote: What works is the very first balance after the mkfs - it successfully changes from the initial default dup to single, but subsequent balances don't work. They also don't really fail. Bisection found that commit

[PATCH v3] Btrfs: fix metadata inconsistencies after directory fsync

2015-02-22 Thread Filipe Manana
We can get into inconsistency between inodes and directory entries after fsyncing a directory. The issue is that while a directory gets the new dentries persisted in the fsync log and replayed at mount time, the link count of the inode that directory entries point to doesn't get updated, staying

Re: Documenting MS_LAZYTIME

2015-02-22 Thread Robert White
On 02/20/2015 12:50 AM, Michael Kerrisk wrote: * As at Linux 3.20, this option is supported only on ext4. As of Linux 3.20 is more correct. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo

New: seeing 100% CPU / unkillable tasks

2015-02-22 Thread Holger Hoffstätte
kernel: 3.18.7 + all patches since 3.19 + the daily Filipe ;) For the last few days I've been getting an awful lot of stuck tasks after mundane operations like simple rsync'ing, an fallocate or just doign a manual sync. Symptom is always 100% CPU use and the task (user-space fallocate, sync or

Re: [PATCH 3/3] btrfs: check io_ctl_prepare_pages return in __btrfs_write_out_cache

2015-02-22 Thread Liu Bo
On Tue, Feb 17, 2015 at 02:51:09AM -0800, Omar Sandoval wrote: If io_ctl_prepare_pages fails, the pages in io_ctl.pages are not valid. When we try to access them later, things will blow up in various ways. Looks good. Reviewed-by: Liu Bo bo.li@oracle.com Signed-off-by: Omar Sandoval

Re: scrub problem

2015-02-22 Thread Robert White
On 02/20/2015 01:03 PM, Bob Williams wrote: /var/lib/btrfs/scrub.status.0b07b829-9a0e-44ab-89ee-14b36a45199e (the last bit of the filename is the filesystem uuid) Look for a line that ends with finished:0 and change it to say finished:1 Why does this data item even exist? The

RAID5 issues - 1) slow write speed 2) slow scrub (using kernel 3.19)

2015-02-22 Thread Gerald Hopf
Hi everyone, now that RAID5 support is coming along nicely with Kernel 3.19 I decided it's time to switch from XFS to btrfs for my storage server. And yes, I do have backups. I'm using 5x WD 4TB RED Drives connected to the Intel SATA Controller (Intel H87 Chipset). I'm running Kernel 3.19

Re: OT raid-1 from raid-10?

2015-02-22 Thread Brendan Hide
On 2015/02/22 03:02, Dave Stevens wrote: If there's a better list please say so. Either way, there is definitely not enough information here for us to give any practical advice. This is a btrfs-related mailing list and there's no indication even that you are using btrfs as your filesystem.

Re: create subvolume defining id

2015-02-22 Thread Qu Wenruo
Original Message Subject: create subvolume defining id From: Johan Kröckel johan.kroec...@gmail.com To: linux-btrfs@vger.kernel.org Date: 2015年02月19日 19:11 Is it possible to create a subvolume and define the id? What do you mean by the word id? Did you mean subvolid or

RE: [PATCH] Btrfs: fix allocation size calculations in alloc_btrfs_bio

2015-02-22 Thread Zhao Lei
Hi, Chris Mason * From: Chris Mason [mailto:c...@fb.com] Sent: Friday, February 20, 2015 10:00 AM To: linux-btrfs; Zhao Lei; dste...@suse.cz Subject: [PATCH] Btrfs: fix allocation size calculations in alloc_btrfs_bio Since commit 8e5cfb55d3f (Btrfs: Make raid_map array be inlined in