Provide the commit hash from the kernel version (preferable) or tools, don't say "I'm using the latest master" as that will very quickly become out of date.\=
run perf record and perf record -e 'bcachefs:*' -o events.data both during the window of issue and then ctrl+c.
run perf archive to dump symbols.
archive, compress and upload the files: perf.data, events.data and perf.data.tar.bz2.
Upload large files to a file storage provider:
provide the output of bcachefs list_journal -a <list of devices> | zstd -f -T0 -o ../journal.log.zstcompress & upload all the `metdata.dump.` files from: bcachefs dump -o metadata.dump
Please search for duplicates
Version
Make sure you're using a reasonably new version.
Provide the commit hash from the kernel version (preferable) or tools, don't say "I'm using the latest master" as that will very quickly become out of date.\=
b9bd69421f7364ca4ff11c827fd0e171a8b826ea
Generic info Provide the output of:
Tools bugs
gdb -ex run --args ./bcacehfs <arguments...>
If you get an assert/segfault etc:
bt
in to and provide the output here.If the tools lockup:
perf top -p $(pidof bcachefs)
and provide a screenshot.bt
.Kernel bugs Compile the kernel with these flags:
Compiling kernel is not possible with the bug :)
Provide the output of
dmesg
either in a paste-bin or as attachment, if less than 30~ lines just provide inline here.https://termbin.com/aqbl
Optional Advanced
If lockup or performance issues:
perf record
andperf record -e 'bcachefs:*' -o events.data
both during the window of issue and then ctrl+c.perf archive
to dump symbols.perf.data
,events.data
andperf.data.tar.bz2
.Upload large files to a file storage provider:
bcachefs list_journal -a <list of devices> | zstd -f -T0 -o ../journal.log.zst
compress & upload all the `metdata.dump.` files from: bcachefs dump -o metadata.dump