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

Jeremy Allison jra at samba.org
Thu May 7 21:30:02 UTC 2020


On Wed, May 06, 2020 at 03:53:26PM +0530, Anoop C S via samba-technical wrote:
> > reproduce the issue.
> 
> 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 :-/

Anoop,

I'm working on a fix for the vfs_io_uring module
to retry short reads/writes.

Do you still have your test environment so
you can test what I come up with ? I don't
have a reproducer here at home so I'll be
dependent on you to see if the fix works.

Cheers,

Jeremy.



More information about the samba-technical mailing list