On 9/8/23 15:09, Alexander Motin wrote:
Thank you, Martin. I was able to reproduce the issue with your script and found the cause.I first though the issue is triggered by the `cp`, but it appeared to be triggered by `cat`. It also got copy_file_range() support, but later than `cp`. That is probably why it slipped through testing. This patch fixes it for me: https://github.com/openzfs/zfs/pull/15251 .Mark, could you please try the patch?
Thank you Alex for the fix! -- Pawel Jakub Dawidek
