Re: Data Corruption bug with Samba's vfs_iouring and Linux 5.6.7/5.7rc3

Stefan Metzmacher
2020-05-06T10:34:11Z

[-- Attachment #1.1: Type: text/plain, Size: 618 bytes --]

Hi Anoop,

> I could reproduce the difference in SHA256 checksum after copying a
> directory with 100 copies of test file(provided by reporter) from
> io_uring VFS module enabled share using Windows explorer(right-click-
>> copy/paste). Only 5 out of 100 files had correct checksum after copy
> operation :-/

Great! Can you please try to collect level 1 log files with
the patch https://bugzilla.samba.org/attachment.cgi?id=15955
applied?

If you use files with only 0xff please also use the
"io_uring:check_ff=yes" option.

Maybe the problem is really triggered by short reads...

Thanks!
metze

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]