Hi everyone!
I have been running Arch Linux with the ck-kernel which includes the bfq scheduler for quite some time.
Recently I noticed that running
btrfs scrub start -B /immediately causes a kernel panic on my machines. While the ck-kernel contains a number of
patches, with the help of from the Arch forums I could track this problem to the bfq
scheduler (
https://bbs.archlinux.org/viewtopic.php?id=193654).
The scrub runs just fine using the normal Arch kernel or the ck-kernel with the cfq. So the
kernel panic should not be hardware related.
The final test kernel I used only was a vanilla 3.18.7 kernel with these patches:
change-default-console-loglevel.patch
0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r7-3.18.patch
0002-block-introduce-the-BFQ-v7r7-I-O-sched-for-3.18.patch
0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r7-for-3.18.0.patch
My test setup:
AMD A10 6700T with two SSDs as raid 1 (software raid with btrfs).
The attached kernel ouput was generated by this machine with the aformentioned kernel while running
btrfs scrub.
This problem seems to occur only with fast and / or multiple devices as I am not able to reproduce the problem
on a T60 with a single SSD (which is much slower than the AMD system).
I hope this bug report is useful to you. Please let me know if you need any further information or you want something
tested.
Best regards
Erik