Hello! Btrfs fails to load on my SPARC T5-2 if kernel (git describe v4.8-rc1-121-g4b9eaf3) compiled with: CONFIG_BTRFS_FS=m CONFIG_BTRFS_FS_POSIX_ACL=y CONFIG_BTRFS_FS_CHECK_INTEGRITY=y CONFIG_BTRFS_FS_RUN_SANITY_TESTS=y CONFIG_BTRFS_DEBUG=y CONFIG_BTRFS_ASSERT=y It fails to load with the following messages: [935325.023060] Btrfs loaded, crc32c=crc32c-generic, debug=on, assert=on, integrity-checker=on [935325.126569] BTRFS: selftest: sectorsize: 8192 nodesize: 8192 [935325.198669] BTRFS: selftest: Running btrfs free space cache tests [935325.275501] BTRFS: selftest: Running extent only tests [935325.340189] BTRFS: selftest: Running bitmap only tests [935325.405362] BTRFS: selftest: Running bitmap and extent tests [935325.477392] BTRFS: selftest: Running space stealing from bitmap to extent [935325.565969] BTRFS: selftest: Free space cache tests finished [935325.637002] BTRFS: selftest: Running extent buffer operation tests [935325.637006] BTRFS: selftest: Running btrfs_split_item tests [935325.637540] BTRFS: selftest: Running extent I/O tests [935325.637543] BTRFS: selftest: Running find delalloc tests [935325.912633] BTRFS: selftest: Running extent buffer bitmap tests [935325.916466] BTRFS: selftest: Setting straddling pages failed [935325.916490] BTRFS: selftest: Extent I/O tests finished I have reported it in [1] and there's a patch [2] for v4.7-rc7 kernel, but it does not applies cleanly to current git kernel. I've made some btrfs fs tests (using xfstests suite) after applying [2] patch with 4.7-rc7 kernel and tests run successfully (i.e. with ok result, without errors). Can someone refresh patch in [2] to support current git kernel and push it to git? Thanks. [1]. http://www.spinics.net/lists/linux-btrfs/msg56964.html [2]. http://www.spinics.net/lists/linux-btrfs/msg57193.html
still valid for v4.8-rc5+
proposed to be fixed in 4.9 or 4.10 https://marc.info/?l=linux-btrfs&m=147447935830006&w=2
Can't reproduce on 4.10.0-rc4 , closing as resolved.