Re: [RFC RFT PATCH] ocfs2: Mark inode bad upon validation failure during read
From: Joseph Qi
Date: Tue Nov 04 2025 - 20:40:14 EST
On 2025/11/5 06:31, Ahmet Eray Karadag wrote:
> Hi folks,
>
> I'm having some trouble getting xfstests-dev set up to test some ocfs2
> changes. I can't seem to get the configuration working correctly to run
> the ocfs2 test group.
>
> Could anyone share some insights or pointers on the proper setup? Any
> help would be much appreciated.
>
The basic steps is:
1. Configure a ocfs2 cluster, e.g:
$ cat /etc/ocfs2/cluster.conf
cluster:
heartbeat_mode = local
node_count = 1
name = ocfs2cluster
node:
number = 0
cluster = ocfs2cluster
ip_port = 7777
ip_address = 127.0.0.1
name = localhost
2. Online ocfs2 cluster:
$ /etc/init.d/o2cb.init online
3. Then run xfstests cases, e.g.:
$ ./check generic/001
Actually we prefer ocfs2tests to test ocfs2, which can be cloned at:
https://github.com/markfasheh/ocfs2-test
Thanks,
Joseph