← Back to team overview

kernel-packages team mailing list archive

[Bug 1411320] Re: btrfs causes reboot when running xfs btrfs tests 032 and 033 back to back

 

SRU Justification:

[Impact]
Running standard btrfs tests will cause a machine to reboot.

[Fix]
commit 2c21b4d733d6e50514e30ffd87110364ddda695b
"Btrfs: fix transaction abortion when remounting btrfs from RW to RO"

[Testcase]
See attached hacked up bash script.  Run with 7 devices for the btrfs scratch pool. Run with all mount options.   Without the fix, the machine reboots.  With the fix, one can run this multiple times w/o a reboot.

** Attachment added: "hacky bash script that trips the bug with xfs tests"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1411320/+attachment/4299311/+files/run-tests.sh

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1411320

Title:
  btrfs causes reboot when running xfs btrfs tests 032 and 033 back to
  back

Status in linux package in Ubuntu:
  In Progress

Bug description:
  Running xfs btrfs specific tests 032 and 033 back-to-back with various
  mount options with 7 target btrfs devices causes the kernel to reboot
  when running inside a virtual machine.

  I've bisected this down and the upstream commit
  2c21b4d733d6e50514e30ffd87110364ddda695b  "Btrfs: fix transaction
  abortion when remounting btrfs from RW to RO"  fixes this, allowing me
  to run the tests through to completion multiple times. Without this
  fix, the tests always reboot on the first iteration using the
  autodefrag mount option.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1411320/+subscriptions


References