Open tonyhutter opened 4 weeks ago
I don't see these same errors when I back the pool with /tmp/file rather than a brd device, so the problem could be brd specific.
ram0
will be using vdev_disk, a file vdev_file. Try putting a loop over the file; that'll make vdev_disk drive it. If it breaks there, that'll help guide the finger of suspicion... :grimacing:
I just tried a file-backed loopback device and saw no errors.
Well, I hate this :sweat_smile:
If you haven't worked it out in the next few hours, I'll try reproduce and bang on it a bit this afternoon. Hopefully it is only brd, afaik like only three people in the world know about it. I'd rather be sure of that, given the last couple of weeks.
Also stop finding cool weird bugs please!
When playing with different backing devices and filesystems for the "ZTS with QEMU PR" - I run into this also. With ram0 and with zram0 I hat strange behaviour sometimes. I re-used the loop files... and everything was fine again.
System information
Describe the problem you're observing
Checksum errors while running
fio
+ Direct IO on a brd ramdisk while scrubbing.Describe how to reproduce the problem
fio
with--direct=1
while doing a scrub in parallel.Reproducer:
I do not see any errors when I run with
--direct=0
.Include any warning/errors/backtraces from the system logs