Re: [PATCH v2 0/6] Btrfs: free space tree and sanity test fixes

2016-10-01 Thread Anatoly Pugachev
On Thu, Sep 29, 2016 at 5:29 PM, David Sterba wrote: > On Thu, Sep 29, 2016 at 04:02:35PM +0300, Anatoly Pugachev wrote: >> > Try to add https://patchwork.kernel.org/patch/9332707/ aka >> > "Btrfs: improve check_node to avoid reading corrupted nodes" which sh

Re: [PATCH v2 0/6] Btrfs: free space tree and sanity test fixes

2016-09-29 Thread Anatoly Pugachev
On Thu, Sep 29, 2016 at 3:52 PM, Holger Hoffstätte wrote: > On 09/29/16 14:21, Anatoly Pugachev wrote: >>> ... >>> >>> This is fixed by patch >>> >>> "Btrfs: remove unnecessary btrfs_mark_buffer_dirty in split_leaf" >>> >&g

Re: [PATCH v2 0/6] Btrfs: free space tree and sanity test fixes

2016-09-29 Thread Anatoly Pugachev
On Mon, Sep 26, 2016 at 07:50:00PM +0200, David Sterba wrote: > On Sun, Sep 25, 2016 at 10:55:24AM +0300, Anatoly Pugachev wrote: > > applied patch to git kernel (v4.8-rc7-172-gbd5dbcb) cleanly. Did not used > > btrfs-progs.git, but debian shipped 4.7.3-1 . > > > >

Re: [PATCH v2 0/6] Btrfs: free space tree and sanity test fixes

2016-09-25 Thread Anatoly Pugachev
On Thu, Sep 22, 2016 at 05:22:31PM -0700, Omar Sandoval wrote: > From: Omar Sandoval > > This is v2 of my earlier series "Btrfs: fix free space tree > bitmaps+tests on big-endian systems" [1]. Patches 1, 4, and 5 are the > same as patches 1, 2, and 3 from the original series. I've added patch 2 >

Re: [PATCH 0/3] Btrfs: fix free space tree bitmaps+tests on big-endian systems

2016-08-27 Thread Anatoly Pugachev
On Sat, Aug 27, 2016 at 3:56 AM, Omar Sandoval wrote: > On Fri, Aug 26, 2016 at 02:06:29PM +0300, Anatoly Pugachev wrote: >> >> I can't load btrfs module with this patch applied to 4.8.0-rc3+ (git >> v4.8-rc3-39-g61c0457) >> on "modprobe btrfs" i'

Re: [PATCH 0/3] Btrfs: fix free space tree bitmaps+tests on big-endian systems

2016-08-26 Thread Anatoly Pugachev
On Thu, Aug 18, 2016 at 11:33 PM, Omar Sandoval wrote: > On Tue, Jul 19, 2016 at 03:25:16PM -0400, Chris Mason wrote: >> On 07/19/2016 12:06 PM, Chandan Rajendra wrote: >> >> Omar, looks like we need to make the patched kernel refuse to mount free >> space trees without a new incompat bit set. Th

Re: [PATCH 0/3] Btrfs: fix free space tree bitmaps+tests on big-endian systems

2016-07-31 Thread Anatoly Pugachev
On Fri, Jul 15, 2016 at 2:31 AM, Omar Sandoval wrote: > From: Omar Sandoval > > So it turns out that the free space tree bitmap handling has always been > broken on big-endian systems. Totally my bad. > > Patch 1 fixes this. Technically, it's a disk format change for > big-endian systems, but it

Re: btrfs on sparc64 results in kernel stack trace in 1 minute test

2016-07-30 Thread Anatoly Pugachev
On Sat, Jul 30, 2016 at 12:52 AM, Jeff Mahoney wrote: >> On Jul 29, 2016, at 5:11 PM, Anatoly Pugachev wrote: >> and in logs: >> >> Jul 30 00:05:48 nvg5120 kernel: BTRFS info (device loop0): inode >> 227514 still on the orphan list >> Jul 30 00:06:01 nv

Re: btrfs on sparc64 results in kernel stack trace in 1 minute test

2016-07-29 Thread Anatoly Pugachev
On Thu, Jul 14, 2016 at 1:29 PM, Filipe Manana wrote: > On Thu, Jul 14, 2016 at 11:08 AM, Anatoly Pugachev wrote: >> Hi! >> >> I'm using git (describe, v4.7-rc7-16-gcf875cc) kernel, >> with patch "fix extent buffer bitmap tests on big-endian systems"

Re: [sparc64] mkfs.btrfs bus error / align issue?

2016-07-29 Thread Anatoly Pugachev
On Fri, Jul 29, 2016 at 3:41 PM, David Sterba wrote: > On Thu, Jul 28, 2016 at 11:34:58PM +0300, Anatoly Pugachev wrote: >> well, I think mkfs.btrfs is fixed, since I just tested it with : > > Good news, thanks. > > quick stats of the TPC messages: > > 23 __b

Re: [sparc64] mkfs.btrfs bus error / align issue?

2016-07-29 Thread Anatoly Pugachev
On Thu, Jul 28, 2016 at 11:34 PM, Anatoly Pugachev wrote: > On Thu, Jul 28, 2016 at 9:04 PM, David Sterba wrote: >> On Thu, Jul 28, 2016 at 04:28:41PM +0200, John Paul Adrian Glaubitz wrote: >>> On 07/28/2016 04:25 PM, John Paul Adrian Glaubitz wrote: >>> > O

Re: [sparc64] mkfs.btrfs bus error / align issue?

2016-07-28 Thread Anatoly Pugachev
On Thu, Jul 28, 2016 at 9:04 PM, David Sterba wrote: > On Thu, Jul 28, 2016 at 04:28:41PM +0200, John Paul Adrian Glaubitz wrote: >> On 07/28/2016 04:25 PM, John Paul Adrian Glaubitz wrote: >> > On 07/28/2016 04:01 PM, Anatoly Pugachev wrote: >> >> Program rec

Re: [sparc64] mkfs.btrfs bus error / align issue?

2016-07-28 Thread Anatoly Pugachev
On Thu, Jul 28, 2016 at 3:24 PM, David Sterba wrote: > On Thu, Jul 28, 2016 at 02:09:03PM +0200, John Paul Adrian Glaubitz wrote: >> Hi David! >> >> On 07/28/2016 01:58 PM, Anatoly Pugachev wrote: >> >> Can you please test with the current 'devel' br

Re: [sparc64] mkfs.btrfs bus error / align issue?

2016-07-28 Thread Anatoly Pugachev
On Thu, Jul 28, 2016 at 12:44 PM, David Sterba wrote: > On Wed, Jul 27, 2016 at 09:56:09PM +0200, David Sterba wrote: >> On Wed, Jul 27, 2016 at 04:59:27PM +0300, Anatoly Pugachev wrote: >> > Hello! >> > >> > Running xfstests suite, got in logs mkfs.btrfs bu

[sparc64] mkfs.btrfs bus error / align issue?

2016-07-27 Thread Anatoly Pugachev
Hello! Running xfstests suite, got in logs mkfs.btrfs bus error, debugging it shows the following : mator@nvg5120:~/btrfs-progs$ git log -1 --oneline 40650bf Btrfs progs v4.6.1 root@nvg5120:/home/mator/xfstests# gdb GNU gdb (Debian 7.11.1-2) 7.11.1 (gdb) file /opt/btrfs/bin/mkfs.btrfs Reading sy

xfstests: error: redefinition of 'struct fsxattr'

2016-07-18 Thread Anatoly Pugachev
Hello! I can't compile xfstests on 4.6.3 kernel (headers installed) on debian sid (unstable). mator@windrunner:~/xfstests$ dpkg -l linux-image-4.6.0-1-amd64 linux-libc-dev Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ E

btrfs on sparc64 results in kernel stack trace in 1 minute test

2016-07-14 Thread Anatoly Pugachev
Hi! I'm using git (describe, v4.7-rc7-16-gcf875cc) kernel, with patch "fix extent buffer bitmap tests on big-endian systems", see [1] (to be able to load/use btrfs module) and getting brtfs filesystem going to read only mode as well getting kernel stack trace in 1 minute after started to copying

Re: [PATCH] Btrfs: fix extent buffer bitmap tests on big-endian systems

2016-07-13 Thread Anatoly Pugachev
On Wed, Jul 13, 2016 at 2:21 AM, Omar Sandoval wrote: > From: Omar Sandoval > > The in-memory bitmap code manipulates words and is therefore sensitive > to endianness, while the extent buffer bitmap code addresses bytes and > is byte-order agnostic. Because the byte addressing of the extent buffe

btrfs module does not load on sparc64

2016-07-07 Thread Anatoly Pugachev
Hi! Compiled linux kernel (git version 4.7.0-rc6+) using my own kernel config file, enabling : CONFIG_BTRFS_FS_RUN_SANITY_TESTS=y CONFIG_BTRFS_DEBUG=y CONFIG_BTRFS_ASSERT=y and now I can't load btrfs module: # modprobe btrfs modprobe: ERROR: could not insert 'btrfs': Invalid argument and in l