hello,

i'm playing with bcachefs , as it's nice to see that there is another powerful cow filesystem in development.

i would like to make sure that it is not affected by https://bugzilla.kernel.org/show_bug.cgi?id=99171 , which is about drbd/mdraid/btrfs/lvm suffering from raid mirror inconsistencies under special circumstances when written to using O_DIRECT.

at least i can see that development of bcachefs has focus on O_DIRECT

https://patchwork.kernel.org/project/linux-fsdevel/patch/[email protected]/

one question to make sure that my testing gives reliable result:

does "bcachefs data scrub /fs" scrub both sides of the mirror in parallel AND while doing that, does it compare, if data blocks on each device really are the same / have the same checksum , so that we would see if O_DIRECT writes go wrong , probably reaching only one side of the mirror ?

root@debian13:~# bcachefs  data scrub /bcachefs
Starting scrub on 2 devices:  sdb sdc
device               checked   corrected uncorrected       total
sdb                  518 MiB         0 B         0 B     518 MiB 100%  complete sdc                  518 MiB         0 B         0 B     518 MiB 100%  complete

Roland
sysadmin

p.s.:
i'm not subscribed to this list, so please keep me CC'd.


Reply via email to