Re: Security implications of btrfs receive?

2016-09-10 Thread Chris Murphy
On Fri, Sep 9, 2016 at 12:58 PM, Chris Murphy wrote: > > It should work better than it does because it works well for LVM and > mdadm arrays. > > I think what's going on is the DE's mounter (udisksd) tries to mount > each Btrfs device node, even though those nodes make

Re: btrfs kernel oops on mount

2016-09-10 Thread moparisthebest
On 09/09/2016 03:28 PM, Chris Murphy wrote: > Sounds like with enospc devs want to see a couple things beyond what I > asked for: > > enospc_debug > grep -IR . /sys/fs/btrfs/UUID/allocation/ > > That's kinda hard to do right now if it's not mounting though... I managed to get more output from

Re: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-10 Thread Jeff Mahoney
On 9/10/16 11:58 AM, Sean Fu wrote: > On Thu, Sep 08, 2016 at 11:25:48PM -0400, Jeff Mahoney wrote: >> On 9/8/16 11:08 PM, Sean Fu wrote: >>> On Tue, Sep 06, 2016 at 11:12:20AM -0400, Jeff Mahoney wrote: On 9/6/16 5:58 AM, David Sterba wrote: > On Mon, Sep 05, 2016 at 11:13:40PM -0400,

Re: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-10 Thread Sean Fu
On Thu, Sep 08, 2016 at 11:25:48PM -0400, Jeff Mahoney wrote: > On 9/8/16 11:08 PM, Sean Fu wrote: > > On Tue, Sep 06, 2016 at 11:12:20AM -0400, Jeff Mahoney wrote: > >> On 9/6/16 5:58 AM, David Sterba wrote: > >>> On Mon, Sep 05, 2016 at 11:13:40PM -0400, Jeff Mahoney wrote: > >> Since root

Re: btrfs kernel oops on mount

2016-09-10 Thread moparisthebest
On 09/09/2016 01:51 PM, Chris Murphy wrote: > Also btrfs check output is useful to include also (without --repair > for starters). btrfs check --readonly output is here: https://www.moparisthebest.com/btrfs/btrfscheck.txt *Most* of it anyway, I messed up with tmux and it took 20 hours to run so

Re: segfault btrfs scrub

2016-09-10 Thread Jan Koester
Hi, also i have wrong size on my filesystem. sudo btrfs filesystem show Label: none uuid: 73d4dc77-6ff3-412f-9b0a-0d11458faf32 Total devices 5 FS bytes used 180.00KiB devid1 size 931.51GiB used 420.81GiB path /dev/sda devid2 size 931.51GiB used 420.81GiB path

Re: segfault btrfs scrub

2016-09-10 Thread Jan Koester
Hi, i have now installed kernel 4.8-rc5 now i got this output when i starting scrub. My problem is that i can see all files on my Filesystem but can't access them. [43176.787859] [ cut here ] [43176.787926] WARNING: CPU: 1 PID: 19517 at

Re: segfault btrfs scrub

2016-09-10 Thread Jan Koester
Hi, i have now installed kernel 4.8-rc5 now i got this output when i starting scrub. My problem is that i can see all files on my Filesystem but can't access them. [43176.787859] [ cut here ] [43176.787926] WARNING: CPU: 1 PID: 19517 at

Re: [PATCH v13 00/15] Btrfs In-band De-duplication

2016-09-10 Thread Qu Wenruo
On 09/10/2016 08:22 AM, Mark Fasheh wrote: On Thu, Sep 08, 2016 at 03:12:49PM +0800, Qu Wenruo wrote: This patchset can be fetched from github: https://github.com/adam900710/linux.git wang_dedupe_20160907 This version is just another small update, rebased to David's for-next-20160906 branch.

Btrfs unmountable - claims it is missing a volume

2016-09-10 Thread Grdykopląs Namorzyn
Hello, While my btrfs mounts ok on several instances of my home OpenElec, but on ArchLinux it fails with: [174828.954975] BTRFS error (device sdc): super_num_devices 3 mismatch with num_devices 2 found here [174828.956969] BTRFS error (device sdc): failed to read chunk tree: -22 Note that it

btrfs_endio_write_helper hard lock blocked qorkqueues with kernel 4.8-rc5

2016-09-10 Thread Stefan Priebe - Profihost AG
Hi, today i've seen this one with 4.8-rc5 and the system was going to be unresponsible. BUG: workqueue lockup - pool cpus=14 node=1 flags=0x0 nice=0 stuck for 33s! BUG: workqueue lockup - pool cpus=14 node=1 flags=0x0 nice=-20 stuck for 33s! Showing busy workqueues and worker pools: workqueue

Re: [PATCH v3] btrfs: should block unused block groups deletion work when allocating data space

2016-09-10 Thread Stefan Priebe - Profihost AG
Thanks, this one works fine. No deadlocks. Stefan Am 09.09.2016 um 10:17 schrieb Wang Xiaoguang: > cleaner_kthread() may run at any time, in which it'll call > btrfs_delete_unused_bgs() > to delete unused block groups. Because this work is asynchronous, it may also > result > in false ENOSPC