fstests: initial bcachefs support
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 25 May 2021 22:19:53 +0000 (18:19 -0400)
committerEryu Guan <guaneryu@gmail.com>
Sun, 30 May 2021 13:16:10 +0000 (21:16 +0800)
commit986733634c61581915deed82692fb92bee587115
treebbf7ddcf7c3dab089d9ba7de7e64067b9a288bb6
parent5b44709187ce6d4f9e0d0b41991af0a65c7b2fab
fstests: initial bcachefs support

To get started, you'll need to get bcachefs from the kernel repository
  https://evilpiepirate.org/git/bcachefs.git/

and tools from
  https://evilpiepirate.org/git/bcache-tools.git/

Build kernel as normal, enabling CONFIG_BCACHEFS_FS (and probably
CONFIG_BCACHEFS_DEBUG), and build and install tools. Then running
fstests is exactly the same as other local filesystems - just set
FSTYP=bcachefs

Also see https://evilpiepirate.org/git/ktest.git/ for a tool for
conveniently building kernel and running fstests inside a qemu VM.

This patch also updates generic/441 to run the more thorough test on
bcachefs, and generic/425 to not run on bcachefs (since bcachefs does
not store xattrs in blocks)

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/attr
common/config
common/quota
common/rc
tests/generic/425
tests/generic/441